ResourceImporterScene: Replace animation bool with an import type string enum

This commit is contained in:
Aaron Franke 2023-10-06 00:17:33 -05:00
parent a2f097d603
commit 9dd71c6414
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
16 changed files with 84 additions and 63 deletions

View file

@ -6888,10 +6888,10 @@ EditorNode::EditorNode() {
import_shader_file.instantiate();
ResourceFormatImporter::get_singleton()->add_importer(import_shader_file);
Ref<ResourceImporterScene> import_scene = memnew(ResourceImporterScene(false, true));
Ref<ResourceImporterScene> import_scene = memnew(ResourceImporterScene("PackedScene", true));
ResourceFormatImporter::get_singleton()->add_importer(import_scene);
Ref<ResourceImporterScene> import_animation = memnew(ResourceImporterScene(true, true));
Ref<ResourceImporterScene> import_animation = memnew(ResourceImporterScene("AnimationLibrary", true));
ResourceFormatImporter::get_singleton()->add_importer(import_animation);
{