forked from mirror/openmw-tes3mp
Do not set _boundingBoxComputed which is no longer used
This commit is contained in:
parent
372f2e2f18
commit
824cd3be22
1 changed files with 0 additions and 2 deletions
|
@ -315,8 +315,6 @@ void RigGeometry::updateBounds(osg::NodeVisitor *nv)
|
||||||
}
|
}
|
||||||
|
|
||||||
_boundingBox = box;
|
_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);
|
_boundingSphere = osg::BoundingSphere(_boundingBox);
|
||||||
_boundingSphereComputed = true;
|
_boundingSphereComputed = true;
|
||||||
for (unsigned int i=0; i<getNumParents(); ++i)
|
for (unsigned int i=0; i<getNumParents(); ++i)
|
||||||
|
|
Loading…
Reference in a new issue