From 784e24a29e2391be7e6b1ea9c0bab55a14ceb235 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 11 Apr 2006 17:48:50 +0000 Subject: [PATCH] flatten_strong() should combine GeomVertexDatas with different names --- panda/src/pgraph/nodePath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 2f84fa5580..b15c43fc22 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -5555,7 +5555,7 @@ flatten_strong() { gr.apply_attribs(node()); int num_removed = gr.flatten(node(), ~0); - gr.collect_vertex_data(node(), ~SceneGraphReducer::CVD_format); + gr.collect_vertex_data(node(), ~(SceneGraphReducer::CVD_format | SceneGraphReducer::CVD_name)); gr.unify(node()); return num_removed;