Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -124,7 +124,7 @@ QString SceneScripting::Stage::getBackgroundMode() const { · 123 unmodified lines | ||
| 124 | 124 | }; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | −SceneScriptingInterface::SceneScriptingInterface() : _stage{ std::make_unique<SceneScripting::Stage>(_skyStage) } { | |
| 127 | +SceneScriptingInterface::SceneScriptingInterface() : _stage{ new SceneScripting::Stage{ _skyStage } } { | |
| 128 | 128 | // Let's make sure the sunSkyStage is using a proceduralSkybox |
| 129 | 129 | _skyStage->setSkybox(model::SkyboxPointer(new ProceduralSkybox())); |
| 130 | 130 | } |
| @@ -145,4 +145,4 @@ void SceneScriptingInterface::setShouldRenderEntities(bool shouldRenderEntities) · 14 unmodified lines | ||
| 145 | 145 | |
| 146 | 146 | model::SunSkyStagePointer SceneScriptingInterface::getSkyStage() const { |
| 147 | 147 | return _skyStage; |
| 148 | −} | |
| 148 | +} | |