Fix import_scene_from_other_importer and import_animation_from_other_importer

This commit is contained in:
Lyuma 2021-11-11 03:24:51 -08:00
parent 7211012c4f
commit 37c11e4159
1 changed files with 2 additions and 2 deletions

View File

@ -1462,7 +1462,7 @@ Node *ResourceImporterScene::import_scene_from_other_importer(EditorSceneFormatI
for (const String &F : extensions) { for (const String &F : extensions) {
if (F.to_lower() == ext) { if (F.to_lower() == ext) {
importer = E; importer = E->get();
break; break;
} }
} }
@ -1492,7 +1492,7 @@ Ref<Animation> ResourceImporterScene::import_animation_from_other_importer(Edito
for (const String &F : extensions) { for (const String &F : extensions) {
if (F.to_lower() == ext) { if (F.to_lower() == ext) {
importer = E; importer = E->get();
break; break;
} }
} }