瀏覽代碼

remove unnecessary assertion

David Rose 20 年之前
父節點
當前提交
0f17ab4437
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      panda/src/gobj/geom.cxx

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

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