mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
fix error message
This commit is contained in:
parent
414094d202
commit
8c22cad702
@ -628,14 +628,14 @@ attach() {
|
|||||||
|
|
||||||
if (parent_connection == (NodeConnection *)NULL) {
|
if (parent_connection == (NodeConnection *)NULL) {
|
||||||
graph_cat.error()
|
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";
|
<< max_node_graphs << " different graph types.\n";
|
||||||
nassertv(false);
|
nassertv(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (child_connection == (NodeConnection *)NULL) {
|
if (child_connection == (NodeConnection *)NULL) {
|
||||||
graph_cat.error()
|
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";
|
<< max_node_graphs << " different graph types.\n";
|
||||||
nassertv(false);
|
nassertv(false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user