ResourceImporterScene: Replace animation bool with an import type string enum
This commit is contained in:
parent
a2f097d603
commit
9dd71c6414
16 changed files with 84 additions and 63 deletions
|
|
@ -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);
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue