Merge pull request #47162 from AndyBarcia/FixTileMapEditorPaste

Fixes TileMap editor copy bug.
This commit is contained in:
Rémi Verschelde 2021-03-19 13:28:35 +01:00 committed by GitHub
commit 655247f28d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -966,9 +966,9 @@ void TileMapEditor::_update_copydata() {
tcd.flip_v = node->is_cell_y_flipped(j, i); tcd.flip_v = node->is_cell_y_flipped(j, i);
tcd.transpose = node->is_cell_transposed(j, i); tcd.transpose = node->is_cell_transposed(j, i);
tcd.autotile_coord = node->get_cell_autotile_coord(j, i); tcd.autotile_coord = node->get_cell_autotile_coord(j, i);
}
copydata.push_back(tcd); copydata.push_back(tcd);
}
} }
} }
} }