mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
fix for flattenStrong nodepath cutting
This commit is contained in:
parent
b9338f9f7f
commit
fae008bee2
@ -754,9 +754,7 @@ do_flatten_siblings(PandaNode *parent_node, PandaNode *child1,
|
||||
|
||||
// Make sure the new child list has child1's children first,
|
||||
// followed by child2's children.
|
||||
child1->steal_children(child2);
|
||||
|
||||
new_child->replace_node(child1);
|
||||
child1->replace_node(child2);
|
||||
new_child->replace_node(child2);
|
||||
|
||||
return new_child;
|
||||
|
Loading…
x
Reference in New Issue
Block a user