Browse Source

Fix mesh preview cleanup in the Scene import settings

mightygoat 3 năm trước cách đây
mục cha
commit
436ef26e18
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      editor/import/scene_import_settings.cpp

+ 2 - 0
editor/import/scene_import_settings.cpp

@@ -558,6 +558,8 @@ void SceneImportSettings::open_settings(const String &p_path, bool p_for_animati
 	node_map.clear();
 	defaults.clear();
 
+	mesh_preview->hide();
+
 	selected_id = "";
 	selected_type = "";