mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
flatten_medium() should also unify
This commit is contained in:
parent
c4306e0f4b
commit
a30470be19
@ -5524,6 +5524,9 @@ flatten_medium() {
|
||||
gr.apply_attribs(node());
|
||||
int num_removed = gr.flatten(node(), 0);
|
||||
|
||||
gr.collect_vertex_data(node());
|
||||
gr.unify(node());
|
||||
|
||||
return num_removed;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user