mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
change update visitor to only traverse active children in scenegraph
This commit is contained in:
parent
38ca20fa77
commit
d7425cc016
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue