Browse Source

TileMapEditor: Fix tile placement.

Fixes #14625
Andreas Haas 7 years ago
parent
commit
34e489f060
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/plugins/tile_map_editor_plugin.cpp

+ 1 - 0
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) {
 						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->add_do_method(node, "set", "tile_data", node->get("tile_data"));
 							undo_redo->commit_action();
 							undo_redo->commit_action();