diff options
| author | Andreas Haas | 2017-06-03 10:54:24 +0200 |
|---|---|---|
| committer | Andreas Haas | 2017-06-03 11:26:39 +0200 |
| commit | 9bc534896135322a578118f433f0dc6265839082 (patch) | |
| tree | 30316ffea9d6321c6b8292a02b6db3dac9cd1053 /editor/plugins/tile_map_editor_plugin.cpp | |
| parent | 5a6d4971e13157cc5f0de199de7f6d257070fc66 (diff) | |
| download | godot-9bc534896135322a578118f433f0dc6265839082.tar.gz godot-9bc534896135322a578118f433f0dc6265839082.tar.zst godot-9bc534896135322a578118f433f0dc6265839082.zip | |
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index 9f7a41b8b..282670e69 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -826,7 +826,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { paint_undo.clear(); - Point2 local = node->world_to_map(xform_inv.xform(mb->get_pos())); + Point2 local = node->world_to_map(xform_inv.xform(mb->get_position())); if (mb->get_shift()) { @@ -900,7 +900,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { if (mm.is_valid()) { - Point2i new_over_tile = node->world_to_map(xform_inv.xform(mm->get_pos())); + Point2i new_over_tile = node->world_to_map(xform_inv.xform(mm->get_position())); if (new_over_tile != over_tile) { |
