Browse Source

documenting subtle steal_children issue

Zachary Pavlov 16 years ago
parent
commit
a2b0168dd5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      panda/src/pgraph/pandaNode.cxx

+ 3 - 0
panda/src/pgraph/pandaNode.cxx

@@ -1034,6 +1034,9 @@ remove_all_children(Thread *current_thread) {
 //       Access: Published
 //       Access: Published
 //  Description: Moves all the children from the other node onto this
 //  Description: Moves all the children from the other node onto this
 //               node.
 //               node.
+//
+//               Any NodePaths to child nodes of the other node are
+//               truncated, rather than moved to the new parent.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 void PandaNode::
 void PandaNode::
 steal_children(PandaNode *other, Thread *current_thread) {
 steal_children(PandaNode *other, Thread *current_thread) {