update traversedebug preventing traversal to disable OQN
This commit is contained in:
parent
73dfe77d09
commit
84983020be
@ -575,7 +575,7 @@ void OcclusionQueryNode::traverseQuery( const Camera* camera, NodeVisitor& nv )
|
||||
|
||||
void OcclusionQueryNode::traverseDebug( NodeVisitor& nv )
|
||||
{
|
||||
if (_debugBB)
|
||||
if (_debugBB && _enabled)
|
||||
// If requested, display the debug geometry
|
||||
_debugGeode->accept( nv );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user