Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
3a1b23c391
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/sgmanip/nodePath.cxx

+ 1 - 0
panda/src/sgmanip/nodePath.cxx

@@ -2566,6 +2566,7 @@ r_get_net_transitions(const ArcComponent *comp,
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 string NodePath::
 string NodePath::
 format_node_name(Node *dnode) const {
 format_node_name(Node *dnode) const {
+  nassertr(dnode != (Node *)NULL, string());
   if (dnode == (Node *)NULL) {
   if (dnode == (Node *)NULL) {
     return "(NULL)";
     return "(NULL)";
   }
   }