diff options
| author | Gilles Roudiere <gilles.roudiere@gmail.com> | 2017-11-15 23:03:25 +0100 |
|---|---|---|
| committer | Gilles Roudiere <gilles.roudiere@gmail.com> | 2017-11-19 13:36:31 +0100 |
| commit | 8d1f2b1857322ed2875cd83b275f3a80f04394a9 (patch) | |
| tree | 95a39e9988c8dd4da85203426764b61f1dff0336 /editor/plugins/tile_map_editor_plugin.cpp | |
| parent | 0aa4765904b0aea28ccf485b2428b027a5960df4 (diff) | |
| download | redot-engine-8d1f2b1857322ed2875cd83b275f3a80f04394a9.tar.gz | |
Rework the canvas_item API for further improves to the canvas item editor
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index 0ee0eed3a2..ffddd8a3a9 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -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(); |
