mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-12 04:06:44 +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
1 changed files with 1 additions and 0 deletions
|
@ -593,6 +593,7 @@ namespace MWRender
|
||||||
updateProjectionMatrix();
|
updateProjectionMatrix();
|
||||||
|
|
||||||
mViewer->getCamera()->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
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()
|
RenderingManager::~RenderingManager()
|
||||||
|
|
Loading…
Reference in a new issue