From 53b6d118ebde900ea606f75ebaf702544e32d87a Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 16 Mar 2001 20:16:57 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/sgmanip/nodePath.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/sgmanip/nodePath.cxx b/panda/src/sgmanip/nodePath.cxx index 4eb62e127f..5a70b8da87 100644 --- a/panda/src/sgmanip/nodePath.cxx +++ b/panda/src/sgmanip/nodePath.cxx @@ -2565,7 +2565,9 @@ r_get_net_transitions(const ArcComponent *comp, //////////////////////////////////////////////////////////////////// string NodePath:: format_node_name(Node *dnode) const { - nassertr(dnode != (Node *)NULL, string()); + if (dnode == (Node *)NULL) { + return "(NULL)"; + } string name; if (dnode->is_of_type(NamedNode::get_class_type())) { name = DCAST(NamedNode, dnode)->get_name();