1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Rework the canvas_item API for further improves to the canvas item editor

This commit is contained in:
Gilles Roudiere
2017-11-15 23:03:25 +01:00
parent 0aa4765904
commit 8d1f2b1857
31 changed files with 285 additions and 498 deletions

View File

@@ -363,7 +363,7 @@ PoolVector<Vector2> TileMapEditor::_bucket_fill(const Point2i &p_start, bool era
return PoolVector<Vector2>();
}
Rect2i r = node->get_item_rect();
Rect2i r = node->_edit_get_rect();
r.position = r.position / node->get_cell_size();
r.size = r.size / node->get_cell_size();