mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Bounds fix
This commit is contained in:
parent
83c6ba97c0
commit
a98dc78cc5
@ -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…
x
Reference in New Issue
Block a user