Mercurial > fife-parpg
diff tools/editor/scripts/gui/mapeditor.py @ 680:60621d858548
* Fixed the image/animation functions in GenericRenderer and LightRenderer. The functions now consider the camera zoom level.
* Added the forgotten LightEdit plugin for the editor.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 21 Nov 2010 15:58:14 +0000 |
parents | 32539411bf0d |
children |
line wrap: on
line diff
--- a/tools/editor/scripts/gui/mapeditor.py Thu Nov 18 17:28:15 2010 +0000 +++ b/tools/editor/scripts/gui/mapeditor.py Sun Nov 21 15:58:14 2010 +0000 @@ -103,7 +103,11 @@ def setObject(self, object): """ Set the object type to be paint onto map """ self._object = object - + + def getObject(self): + """ Return the current object """ + return self._object + def setController(self, controller): """ Set the controller to use. """ if self._controller is not None: