summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authormightygoat <alpha5and5official@gmail.com>2022-05-01 05:33:12 +0530
committermightygoat <alpha5and5official@gmail.com>2022-05-02 19:16:41 +0530
commit436ef26e18fa990e395d161ba67d86d2a8218fe2 (patch)
tree4ca81924e2f7a6f434d6d26e16c13712fefe0b69 /editor
parent4c2a614ad41564ab33eb6515b48e0e5b52ea8b81 (diff)
Fix mesh preview cleanup in the Scene import settings
Diffstat (limited to 'editor')
-rw-r--r--editor/import/scene_import_settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp
index b08622b910..8866794505 100644
--- a/editor/import/scene_import_settings.cpp
+++ b/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 = "";