Mercurial > fife-parpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
668:e8a799239384 | 669:46258f467c8c |
---|---|
102 self._help_dialog = None | 102 self._help_dialog = None |
103 | 103 |
104 ApplicationBase.__init__(self, TDS, *args, **kwargs) | 104 ApplicationBase.__init__(self, TDS, *args, **kwargs) |
105 MainWindow.__init__(self, *args, **kwargs) | 105 MainWindow.__init__(self, *args, **kwargs) |
106 | 106 |
107 self.engine.getRenderBackend().setClearBackBuffer(True) | |
108 | |
109 def _initTools(self): | 107 def _initTools(self): |
110 """ Initializes tools """ | 108 """ Initializes tools """ |
111 self._pluginmanager = plugin.PluginManager(self.getSettings()) | 109 self._pluginmanager = plugin.PluginManager(self.getSettings()) |
112 | 110 |
113 self._filemanager = FileManager() | 111 self._filemanager = FileManager() |