Browse Source

incorrect assert return

David Rose 20 years ago
parent
commit
42b082e5b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/nodePath.cxx

+ 1 - 1
panda/src/pgraph/nodePath.cxx

@@ -5776,7 +5776,7 @@ bool NodePath::
 r_has_vertex_column(PandaNode *node, const InternalName *name) const {
 r_has_vertex_column(PandaNode *node, const InternalName *name) const {
   if (node->is_geom_node()) {
   if (node->is_geom_node()) {
     GeomNode *gnode;
     GeomNode *gnode;
-    DCAST_INTO_R(gnode, node, NULL);
+    DCAST_INTO_R(gnode, node, false);
 
 
     int num_geoms = gnode->get_num_geoms();
     int num_geoms = gnode->get_num_geoms();
     for (int i = 0; i < num_geoms; i++) {
     for (int i = 0; i < num_geoms; i++) {