Merge branch 'timoore/optimization' into next
This commit is contained in:
commit
6110139197
1 changed files with 4 additions and 1 deletions
|
@ -74,6 +74,7 @@
|
|||
#include <simgear/scene/model/animation.hxx>
|
||||
#include <simgear/scene/model/placement.hxx>
|
||||
#include <simgear/scene/sky/sky.hxx>
|
||||
#include <simgear/scene/util/DeletionManager.hxx>
|
||||
#include <simgear/scene/util/SGUpdateVisitor.hxx>
|
||||
#include <simgear/scene/util/RenderConstants.hxx>
|
||||
#include <simgear/scene/util/SGSceneUserData.hxx>
|
||||
|
@ -1506,7 +1507,9 @@ FGRenderer::setupView( void )
|
|||
stateSet = mRealRoot->getOrCreateStateSet();
|
||||
stateSet->setAttributeAndModes(new osg::Program, osg::StateAttribute::ON);
|
||||
|
||||
mDeferredRealRoot->addChild( mRealRoot.get() );
|
||||
mDeferredRealRoot->addChild( mRealRoot.get() );
|
||||
|
||||
DeletionManager::install(mRealRoot.get());
|
||||
}
|
||||
|
||||
// Update all Visuals (redraws anything graphics related)
|
||||
|
|
Loading…
Add table
Reference in a new issue