*** empty log message ***

This commit is contained in:
David Rose 2001-03-16 20:16:57 +00:00
parent fa7dd2f787
commit 53b6d118eb
1 changed files with 3 additions and 1 deletions

View File

@ -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();