diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-12-13 16:46:15 +0100 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-12-13 16:46:22 +0100 |
commit | 34e489f060ab0d60ebff0bb261db967eecbe6544 (patch) | |
tree | b7971d4c6feca84e10173cbb0d8f3fa2f0786614 | |
parent | b11081313443bb57ea10513ccae32e4f79d2b629 (diff) |
TileMapEditor: Fix tile placement.
Fixes #14625
-rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index 4d06342fe0..40abc4026a 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -751,6 +751,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { if (id != TileMap::INVALID_CELL) { + _set_cell(over_tile, id, flip_h, flip_v, transpose); undo_redo->add_do_method(node, "set", "tile_data", node->get("tile_data")); undo_redo->commit_action(); |