update traversedebug preventing traversal to disable OQN
This commit is contained in:
parent
5311d6fb6b
commit
cfd190a9fa
@ -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