summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-11 13:43:31 +0100
committerGitHub <noreply@github.com>2021-11-11 13:43:31 +0100
commit9547d6d5437d675c3e49ca687f81dc762260770d (patch)
tree3a64c6a5d16c52a35e65b02f9b29568adbeaa3d9
parent1aa3c8419b2405d81d04f4fb3ac142fcd355de85 (diff)
parent37c11e415913c56c66ffb84e98aa815b8c8493aa (diff)
Merge pull request #54874 from lyuma/fix_other_importer
-rw-r--r--editor/import/resource_importer_scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp
index 11639314d6..9aaffe8abf 100644
--- a/editor/import/resource_importer_scene.cpp
+++ b/editor/import/resource_importer_scene.cpp
@@ -1462,7 +1462,7 @@ Node *ResourceImporterScene::import_scene_from_other_importer(EditorSceneFormatI
for (const String &F : extensions) {
if (F.to_lower() == ext) {
- importer = E;
+ importer = E->get();
break;
}
}
@@ -1492,7 +1492,7 @@ Ref<Animation> ResourceImporterScene::import_animation_from_other_importer(Edito
for (const String &F : extensions) {
if (F.to_lower() == ext) {
- importer = E;
+ importer = E->get();
break;
}
}