Import settings inspector is cleared when opened

This commit is contained in:
Fazil Babu 2022-03-20 11:11:22 +05:30
parent 81c2d7a82a
commit 3c53da086f

View file

@ -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;