diff --git a/components/sceneutil/riggeometry.cpp b/components/sceneutil/riggeometry.cpp index 7f30aff74..df5f65029 100644 --- a/components/sceneutil/riggeometry.cpp +++ b/components/sceneutil/riggeometry.cpp @@ -271,7 +271,9 @@ void RigGeometry::updateBounds(osg::NodeVisitor *nv) box.expandBy(bs); } - setInitialBound(box); + _boundingBox = box; + for (unsigned int i=0; idirtyBound(); } osg::Matrixf RigGeometry::getGeomToSkelMatrix(osg::NodeVisitor *nv)