Explorar el Código

second suggested fix by community member nopcode

David Rose hace 15 años
padre
commit
7d0f8c69bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      panda/src/egg/eggMesherStrip.cxx

+ 1 - 1
panda/src/egg/eggMesherStrip.cxx

@@ -362,7 +362,7 @@ cut_sheet(int first_row_id, int do_mate, const EggVertexPool *vertex_pool) {
       while (not_any && ei != _edges.end()) {
         EggMesherEdge::Strips &strips = (*ei)->_strips;
         si = strips.begin();
-        while (si != strips.end() && not_any) {
+        while (not_any && si != strips.end()) {
           if (*si != this && (*si)->_row_id == _row_id) {
             // Here's one!
             not_any = false;