1
0
Fork 0
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:
glassmancody.info 2022-06-11 00:09:33 -07:00
parent 38ca20fa77
commit d7425cc016

View file

@ -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()