From Tom Jolly, addition a isCullingActive check to the culling test done

on drawables.  This solves a osgParticle bug relating to bounding boxes being
initially at 0,0,0.
This commit is contained in:
Robert Osfield 2004-03-09 21:33:44 +00:00
parent 851d1e0ae1
commit 8f226faae8

View File

@ -364,7 +364,7 @@ void CullVisitor::apply(Geode& node)
} }
else else
{ {
if (isCulled(bb)) continue; if (node.isCullingActive() && isCulled(bb)) continue;
} }