Rework the canvas_item API for further improves to the canvas item editor
This commit is contained in:
parent
0aa4765904
commit
8d1f2b1857
31 changed files with 285 additions and 498 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue