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:
parent
851d1e0ae1
commit
8f226faae8
@ -364,7 +364,7 @@ void CullVisitor::apply(Geode& node)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isCulled(bb)) continue;
|
||||
if (node.isCullingActive() && isCulled(bb)) continue;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user