summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-06 11:31:41 +0100
committerGitHub <noreply@github.com>2018-12-06 11:31:41 +0100
commitaa9bc04485cc156d8891a7a8e36c650e5aab897d (patch)
tree438a6cb2f55eadec4edec451d15a1ba66b8c0a07 /editor
parenta7bd9f050f042301751ab23dbb58b0c3d8842e3a (diff)
parent29284f628c3867e1d300667b70a165b15a498c76 (diff)
Merge pull request #24189 from dakennedyd/development
Fixes editor crashing when editing autotiles
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp2
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: {