From 5c623893be0e16ba4a2d569fb32615be56d59114 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 25 Jan 2006 22:35:47 +0000 Subject: [PATCH] flatten_strong() should unify too --- panda/src/pgraph/nodePath.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 2fd80033b0..7d7ba783ad 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -5481,6 +5481,9 @@ flatten_strong() { gr.apply_attribs(node()); int num_removed = gr.flatten(node(), ~0); + gr.collect_vertex_data(node()); + gr.unify(node()); + return num_removed; }