fix bounding volume bug after a flatten operation

This commit is contained in:
David Rose 2005-08-29 22:03:03 +00:00
parent e9d9408669
commit f300d5b862

View File

@ -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;
}