ソースを参照

Merge pull request #24189 from dakennedyd/development

Fixes editor crashing when editing autotiles
Rémi Verschelde 6 年 前
コミット
aa9bc04485
1 ファイル変更2 行追加0 行削除
  1. 2 0
      editor/plugins/tile_set_editor_plugin.cpp

+ 2 - 0
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: {