Do not set _boundingBoxComputed which is no longer used

This commit is contained in:
scrawl 2016-06-14 22:25:25 +02:00
parent 372f2e2f18
commit 824cd3be22

View file

@ -315,8 +315,6 @@ void RigGeometry::updateBounds(osg::NodeVisitor *nv)
}
_boundingBox = box;
_boundingBoxComputed = true;
// in OSG 3.3.3 and up Drawable inherits from Node, so has a bounding sphere as well.
_boundingSphere = osg::BoundingSphere(_boundingBox);
_boundingSphereComputed = true;
for (unsigned int i=0; i<getNumParents(); ++i)