Mercurial > fife-parpg
changeset 561:85e8986e7b8f
Fixed a bug when creating a new map. It was introduced by a recent commit that removed the requirement to pass a model coordinate to the camera's constructor.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 24 Jun 2010 18:40:30 +0000 |
parents | 69d50e751c9a |
children | e34b44afd428 |
files | tools/editor/scripts/gui/cameradialog.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/editor/scripts/gui/cameradialog.py Wed Jun 23 19:20:24 2010 +0000 +++ b/tools/editor/scripts/gui/cameradialog.py Thu Jun 24 18:40:30 2010 +0000 @@ -100,7 +100,7 @@ print 'Please enter positive integer values for rotation and tilt.' return - cam = map.addCamera(str(id), layer, viewport, fife.ExactModelCoordinate(0,0,0)) + cam = map.addCamera(str(id), layer, viewport) cam.setCellImageDimensions(refw, refh) cam.setRotation(rot) cam.setTilt(tilt) @@ -108,4 +108,4 @@ self._widget.hide() if self.callback: - self.callback() \ No newline at end of file + self.callback()