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:
parent
83c6ba97c0
commit
a98dc78cc5
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue