Browse Source

flatten_strong() should combine GeomVertexDatas with different names

David Rose 19 years ago
parent
commit
784e24a29e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/nodePath.cxx

+ 1 - 1
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;