mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix bounding volume bug after a flatten operation
This commit is contained in:
parent
e9d9408669
commit
f300d5b862
@ -133,6 +133,7 @@ transform_vertices(GeomNode *node, const LMatrix4f &mat) {
|
||||
GeomNode::GeomEntry &entry = (*gi);
|
||||
PT(Geom) new_geom = new Geom(*entry._geom);
|
||||
if (transform_vertices(new_geom, mat)) {
|
||||
node->mark_bound_stale();
|
||||
entry._geom = new_geom;
|
||||
any_changed = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user