Jelajahi Sumber

update comment

David Rose 24 tahun lalu
induk
melakukan
c7fc395bcb
1 mengubah file dengan 9 tambahan dan 0 penghapusan
  1. 9 0
      panda/src/pgraph/pandaNode.cxx

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

@@ -529,6 +529,15 @@ xform(const LMatrix4f &) {
 ////////////////////////////////////////////////////////////////////
 PandaNode *PandaNode::
 combine_with(PandaNode *other) {
+  // This is a little bit broken right now w.r.t. NodePaths, since any
+  // NodePaths attached to the lost node will simply be disconnected.
+  // This isn't the right thing to do; we should collapse those
+  // NodePaths with these NodePaths instead.  To do this properly, we
+  // will need to combine this functionality with that of stealing the
+  // other node's children into one method.  Not too difficult, but
+  // there are more pressing problems to work on right now.
+
+
   // An unadorned PandaNode always combines with any other PandaNodes by
   // yielding completely.  However, if we are actually some fancy PandaNode
   // type that derives from PandaNode but didn't redefine this function, we