David Rose 21 years ago
parent
commit
363d47f644
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/egg/eggPolygon.cxx

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

@@ -134,8 +134,8 @@ is_planar() const {
         // Nope, too far away--the polygon is nonplanar.
         return false;
       }
-      ++vi;
     }
+    ++vi;
   }
 
   // All vertices are close enough to pass.