Browse Source

remove unnecessary assertion

David Rose 20 years ago
parent
commit
0f17ab4437
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/gobj/geom.cxx

+ 2 - 2
panda/src/gobj/geom.cxx

@@ -1120,7 +1120,7 @@ recompute_bound() {
         ++vcount;
       }
     }
-    nassertr(vcount == num_vertices, bound);
+    //nassertr(vcount == num_vertices, bound);
 
   } else {
     // Indexed case.
@@ -1134,7 +1134,7 @@ recompute_bound() {
         ++vindex;
       }
     }
-    nassertr(vindex == num_indices, bound);
+    //nassertr(vindex == num_indices, bound);
   }
 
   const LPoint3f *vertices_begin = &vertices[0];