Browse Source

fix error message

David Rose 24 years ago
parent
commit
8c22cad702
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/graph/nodeRelation.cxx

+ 2 - 2
panda/src/graph/nodeRelation.cxx

@@ -628,14 +628,14 @@ attach() {
 
   if (parent_connection == (NodeConnection *)NULL) {
     graph_cat.error()
-      << "Attempt to attach " << _parent << " simultaneously to more than "
+      << "Attempt to attach " << *_parent << " simultaneously to more than "
       << max_node_graphs << " different graph types.\n";
     nassertv(false);
   }
 
   if (child_connection == (NodeConnection *)NULL) {
     graph_cat.error()
-      << "Attempt to attach " << _child << " simultaneously to more than "
+      << "Attempt to attach " << *_child << " simultaneously to more than "
       << max_node_graphs << " different graph types.\n";
     nassertv(false);
   }