Zachary Pavlov hace 16 años
padre
commit
d15bcd5062
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      panda/src/pgraph/sceneGraphReducer.cxx

+ 1 - 1
panda/src/pgraph/sceneGraphReducer.cxx

@@ -755,7 +755,7 @@ do_flatten_siblings(PandaNode *parent_node, PandaNode *child1,
   // Make sure the new child list has child1's children first,
   // Make sure the new child list has child1's children first,
   // followed by child2's children.
   // followed by child2's children.
   child1->replace_node(child2);
   child1->replace_node(child2);
-  new_child->replace_node(child2);
+  new_child->replace_node(child1);
 
 
   return new_child;
   return new_child;
 }
 }