Fixed ABuffer to update shader when Scengraph is updated

This commit is contained in:
Jonas Strandstedt
2014-09-29 13:03:58 +02:00
parent e97d5f17bc
commit cc3f9ef34b
7 changed files with 19 additions and 185 deletions

View File

@@ -283,7 +283,7 @@ bool OpenSpaceEngine::initialize()
// initialize the RenderEngine, needs ${SCENEPATH} to be set
_renderEngine.initialize();
_renderEngine.initialize();
sceneGraph->initialize();
std::string sceneDescriptionPath;
@@ -292,7 +292,7 @@ bool OpenSpaceEngine::initialize()
if (success)
sceneGraph->scheduleLoadSceneFile(sceneDescriptionPath);
_renderEngine.setSceneGraph(sceneGraph);
//_renderEngine.setSceneGraph(sceneGraph);
#ifdef FLARE_ONLY
_flare = new Flare();