diff options
author | David Kennedy <dakennedyd@gmail.com> | 2018-12-06 06:35:38 -0300 |
---|---|---|
committer | David Kennedy <dakennedyd@gmail.com> | 2018-12-06 07:15:48 -0300 |
commit | 29284f628c3867e1d300667b70a165b15a498c76 (patch) | |
tree | 438a6cb2f55eadec4edec451d15a1ba66b8c0a07 | |
parent | a7bd9f050f042301751ab23dbb58b0c3d8842e3a (diff) |
Fixes editor crashing when editing autotiles issue #24004
-rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index d0e0b3e006..3f424b4e70 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -600,6 +600,8 @@ void TileSetEditor::_on_textures_added(const PoolStringArray &p_paths) { } void TileSetEditor::_on_edit_mode_changed(int p_edit_mode) { + draw_handles = false; + creating_shape = false; edit_mode = (EditMode)p_edit_mode; switch (edit_mode) { case EDITMODE_REGION: { |