From f8a1801fbc315714c8bd619e6c970dc3b199689a Mon Sep 17 00:00:00 2001 From: andybarcia Date: Fri, 19 Mar 2021 12:09:28 +0100 Subject: [PATCH] Fixes TileMap editor copy bug. (cherry picked from commit 558b08e6d91d49780c1f77812177c3c227f96590) --- editor/plugins/tile_map_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index 6da082058d..448e3ed7b4 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -972,9 +972,9 @@ void TileMapEditor::_update_copydata() { tcd.flip_v = node->is_cell_y_flipped(j, i); tcd.transpose = node->is_cell_transposed(j, i); tcd.autotile_coord = node->get_cell_autotile_coord(j, i); - } - copydata.push_back(tcd); + copydata.push_back(tcd); + } } } }