Ignore:
Timestamp:
09/03/13 18:10:44 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
32393065363738626336373939666235316230663031333531323161323165626530396636386663
Message:

Err, in pymunk coordinates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r184 r187  
    234234    def mouse_down(self, ev):
    235235        if ev.button == 1:
    236             print "Click: %r" % (self._level_coordinates(ev.pos),)
     236            print "Click: %r" % (
     237                self.level.point_to_pymunk(self._level_coordinates(ev.pos)),)
    237238        if ev.button == 4:  # Scroll up
    238239            self._move_view((0, -10))
Note: See TracChangeset for help on using the changeset viewer.