Changeset 465:1e24145a2860


Ignore:
Timestamp:
09/07/13 14:05:51 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
61623230653538386335306162303563343934373732623733353837366265656365333166306639
Message:

Find vertex should use corrected_pos not snapped_pos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r463 r465  
    633633            else:
    634634                # find the current point
    635                 self._move_point = self.level.find_vertex(snapped_pos)
     635                self._move_point = self.level.find_vertex(corrected_pos)
    636636        elif self._move_point_mode and ev.button == 1:
    637637            if self._move_point:
     
    642642            else:
    643643                # find the current point
    644                 self._move_point = self.level.find_vertex(snapped_pos)
     644                self._move_point = self.level.find_vertex(corrected_pos)
    645645        elif ev.button == 1:
    646646            if self._draw_lines:
Note: See TracChangeset for help on using the changeset viewer.