diff tools/editor/scripts/editor.py @ 669:46258f467c8c

* Fixed the clear screen problems. The screen is now automatically cleared every frame by the engine if there are no maps loaded. In the process I removed the setClearBackBuffer() function from the RenderBackend.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Nov 2010 21:36:38 +0000
parents e8a799239384
children 60621d858548
line wrap: on
line diff
--- a/tools/editor/scripts/editor.py	Mon Nov 08 20:37:31 2010 +0000
+++ b/tools/editor/scripts/editor.py	Mon Nov 08 21:36:38 2010 +0000
@@ -104,8 +104,6 @@
 		ApplicationBase.__init__(self, TDS, *args, **kwargs)
 		MainWindow.__init__(self, *args, **kwargs)
 		
-		self.engine.getRenderBackend().setClearBackBuffer(True)
-		
 	def _initTools(self):
 		""" Initializes tools """
 		self._pluginmanager = plugin.PluginManager(self.getSettings())