1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Bounds fix

This commit is contained in:
scrawl 2015-04-30 15:46:16 +02:00
parent 83c6ba97c0
commit a98dc78cc5

View file

@ -271,7 +271,9 @@ void RigGeometry::updateBounds(osg::NodeVisitor *nv)
box.expandBy(bs);
}
setInitialBound(box);
_boundingBox = box;
for (unsigned int i=0; i<getNumParents(); ++i)
getParent(i)->dirtyBound();
}
osg::Matrixf RigGeometry::getGeomToSkelMatrix(osg::NodeVisitor *nv)