mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Merge branch 'no_update_useless_ugly_nodes' into 'master'
Only update active children See merge request OpenMW/openmw!2001
This commit is contained in:
commit
c8eb246198
@ -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