Mercurial > fife-parpg
comparison tools/editor/scripts/mapview.py @ 570:0e0a30f0eb20
Finally found the bug when you create a new map and are unable to place instances on the map until you save and re-load the map.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 28 Jun 2010 21:28:44 +0000 |
parents | 9d94f4676d17 |
children |
comparison
equal
deleted
inserted
replaced
569:466d76db9701 | 570:0e0a30f0eb20 |
---|---|
104 | 104 |
105 if camera.getLocation().getLayer().getMap() != self._map: | 105 if camera.getLocation().getLayer().getMap() != self._map: |
106 print "Camera is not associated with this map" | 106 print "Camera is not associated with this map" |
107 return | 107 return |
108 | 108 |
109 self._camera = None | 109 self._camera = camera |
110 | 110 |
111 def getController(self): | 111 def getController(self): |
112 return self._controller | 112 return self._controller |
113 | 113 |
114 def getMap(self): | 114 def getMap(self): |