mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 05:09:39 +00:00
Remove _boundingBoxComputed from sceneutil's riggeometry.cpp
Recent versions of OpenSceneGraph have no _boundingBoxComputed, which is why building TES3MP with them causes an error. As expected, recent versions of OpenMW do not use _boundingBoxComputed either.
This commit is contained in:
parent
645a21af21
commit
b7e377c636
1 changed files with 0 additions and 4 deletions
|
@ -288,12 +288,8 @@ void RigGeometry::updateBounds(osg::NodeVisitor *nv)
|
|||
}
|
||||
|
||||
_boundingBox = box;
|
||||
_boundingBoxComputed = true;
|
||||
#if OSG_VERSION_GREATER_OR_EQUAL(3,3,3)
|
||||
// in OSG 3.3.3 and up Drawable inherits from Node, so has a bounding sphere as well.
|
||||
_boundingSphere = osg::BoundingSphere(_boundingBox);
|
||||
_boundingSphereComputed = true;
|
||||
#endif
|
||||
for (unsigned int i=0; i<getNumParents(); ++i)
|
||||
getParent(i)->dirtyBound();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue