mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
change update visitor to only traverse active children in scenegraph
This commit is contained in:
parent
38ca20fa77
commit
d7425cc016
@ -593,6 +593,7 @@ namespace MWRender
|
||||
updateProjectionMatrix();
|
||||
|
||||
mViewer->getCamera()->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
mViewer->getUpdateVisitor()->setTraversalMode(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
|
||||
}
|
||||
|
||||
RenderingManager::~RenderingManager()
|
||||
|
Loading…
x
Reference in New Issue
Block a user