fix bug in halfface reordering

7 jobs for master in 15 minutes and 18 seconds
Status Job ID Name Coverage
  Test
passed #7792
Linux
clang-c++11

00:02:21

passed #7794
Linux
clang-c++98

00:01:36

passed #7797
Linux
cppcheck

00:01:39

passed #7791
Linux
gcc-c++11

00:03:33

passed #7793
Linux
gcc-c++98

00:02:26

passed #7795
Apple
macos-c++11

00:02:23

passed #7796
Apple
macos-c++98

00:01:16