diff --git a/Components/Python/HighPy.py b/Components/Python/HighPy.py index 061b45e12e6..11436256543 100644 --- a/Components/Python/HighPy.py +++ b/Components/Python/HighPy.py @@ -87,9 +87,10 @@ def createRoot(self): rgm.addResourceLocation(loc, "FileSystem", Ogre.RGN_DEFAULT) def oneTimeConfig(self): + self.getRoot().restoreConfig() rs = self.getRoot().getRenderSystemByName("OpenGL 3+ Rendering Subsystem") - #rs.setConfigOption("Debug Layer", "On") self.getRoot().setRenderSystem(rs) + self.getRoot().saveConfig() return True def _create_image_background(scn_mgr, name):