Moved the code referencing osg::BoundingBox::isValid() and
osg::BoundingSphere::isValid() across to use the valid() methods, the later being more consitent with other classes such as osg::ref_ptr<>.
This commit is contained in:
@@ -710,7 +710,7 @@ ImpostorSprite* CullVisitor::createImpostorSprite(Impostor& node)
|
||||
osg::Vec3 eye_local = getEyeLocal();
|
||||
int eval = node.evaluate(eye_local,_LODBias);
|
||||
|
||||
if (!bs.isValid())
|
||||
if (!bs.valid())
|
||||
{
|
||||
osg::notify(osg::WARN) << "bb invalid"<<&node<<std::endl;
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user