diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-02 15:34:55 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-08-02 15:43:49 -0300 |
commit | 5c361485db9cb2c6d9f9fb8906ee283ee220aa00 (patch) | |
tree | e9e90e9108605b134b5de46a1c6cf03069e91958 /editor/editor_node.cpp | |
parent | b7d98d4d058388d7eb861abe4aed93c5a9480cf0 (diff) |
-Added GLTF scene support (still missing animations and .glb extension)
-Fixed bugs regarding tangent generation in SurfaceTool
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 0cdb981306..4d5dd14172 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -110,6 +110,7 @@ // end #include "editor_settings.h" #include "import/editor_import_collada.h" +#include "import/editor_scene_importer_gltf.h" #include "io_plugins/editor_bitmask_import_plugin.h" #include "io_plugins/editor_export_scene.h" #include "io_plugins/editor_font_import_plugin.h" @@ -5151,6 +5152,10 @@ EditorNode::EditorNode() { Ref<EditorOBJImporter> import_obj; import_obj.instance(); import_scene->add_importer(import_obj); + + Ref<EditorSceneImporterGLTF> import_gltf; + import_gltf.instance(); + import_scene->add_importer(import_gltf); } } |