You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #87787 from aaronfranke/scene-import-type
ResourceImporterScene: Replace animation bool with an import type string enum
This commit is contained in:
@@ -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);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user