diff options
| author | Juan Linietsky | 2018-01-30 11:03:46 -0300 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-01-31 01:15:00 +0100 |
| commit | c77047d6a378490ff1001546b9d5fbfa39727f53 (patch) | |
| tree | 75d86ef00ceebdb20693306cddc2645cc73b6c45 /editor/editor_node.cpp | |
| parent | a34afa382077ab0c45ebc82c5fdfbf9efcd820ea (diff) | |
| download | godot-c77047d6a378490ff1001546b9d5fbfa39727f53.tar.gz godot-c77047d6a378490ff1001546b9d5fbfa39727f53.tar.zst godot-c77047d6a378490ff1001546b9d5fbfa39727f53.zip | |
Ability to import .escn files, which is just a .tscn but with forced import.
This works together with the new Blender to Godot exporter.
(cherry picked from commit 1322ca6fb254f31d9f6133ad083588b5d21e97be)
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 2f0c41c6e..98991cd7c 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4815,6 +4815,10 @@ EditorNode::EditorNode() { Ref<EditorSceneImporterGLTF> import_gltf; import_gltf.instance(); import_scene->add_importer(import_gltf); + + Ref<EditorSceneImporterESCN> import_escn; + import_escn.instance(); + import_scene->add_importer(import_escn); } Ref<ResourceImporterBitMap> import_bitmap; |
