# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1277404830 0 # Node ID 85e8986e7b8f8066fc2e7eba94efc44d0631ba04 # Parent 69d50e751c9ae55e53e08fc7f0d9c7e5e70cde67 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. diff -r 69d50e751c9a -r 85e8986e7b8f tools/editor/scripts/gui/cameradialog.py --- 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()