From d15bcd5062b86b7246c3550223f677b7361dc9c0 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Thu, 13 Aug 2009 17:45:00 +0000 Subject: [PATCH] oops, typo --- panda/src/pgraph/sceneGraphReducer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/sceneGraphReducer.cxx b/panda/src/pgraph/sceneGraphReducer.cxx index 8cd5a35934..bfdf007ee0 100644 --- a/panda/src/pgraph/sceneGraphReducer.cxx +++ b/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, // followed by child2's children. child1->replace_node(child2); - new_child->replace_node(child2); + new_child->replace_node(child1); return new_child; }