summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-20 11:29:55 +0100
committerGitHub <noreply@github.com>2022-03-20 11:29:55 +0100
commitca101fe080af6012abde372733e5f02a6f67860e (patch)
tree2854e27d7708ae5fcd0423e7fcfec4095fe9d140
parentcb51df3286bda88d716cc579f11b21b6eee0daae (diff)
parent3c53da086f5471a3ac28097ccbc664a55bfb61b2 (diff)
Merge pull request #59341 from fazil47/clear-import-inspector
Advanced import settings inspector is cleared when opened
-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 a4ae560d35..5045e4a541 100644
--- a/editor/import/scene_import_settings.cpp
+++ b/editor/import/scene_import_settings.cpp
@@ -529,6 +529,8 @@ void SceneImportSettings::open_settings(const String &p_path) {
base_viewport->add_child(scene);
+ inspector->edit(nullptr);
+
if (first_aabb) {
contents_aabb = AABB(Vector3(-1, -1, -1), Vector3(2, 2, 2));
first_aabb = false;