1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Fixes TileMap editor copy bug.

(cherry picked from commit 558b08e6d9)
This commit is contained in:
andybarcia
2021-03-19 12:09:28 +01:00
committed by Rémi Verschelde
parent 6b6324441f
commit f8a1801fbc

View File

@@ -972,11 +972,11 @@ 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);
} }
} }
}
} }
static inline Vector<Point2i> line(int x0, int x1, int y0, int y1) { static inline Vector<Point2i> line(int x0, int x1, int y0, int y1) {