summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-09-01 22:35:39 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-09-01 22:36:49 -0300
commitded74dedefcb03fee1079d33f9688c2e401ea00e (patch)
treef5faef830f24b09546ff0dab9171ea970c87cb22 /editor/import
parentdac150108ab3c1f41d5fd86cc6853f883064caaf (diff)
Fixed missing return value in glTF2.0 importer camera, closes #10130
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/editor_scene_importer_gltf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/import/editor_scene_importer_gltf.cpp b/editor/import/editor_scene_importer_gltf.cpp
index 5fa46fac2c..21cf08f524 100644
--- a/editor/import/editor_scene_importer_gltf.cpp
+++ b/editor/import/editor_scene_importer_gltf.cpp
@@ -1434,6 +1434,8 @@ Error EditorSceneImporterGLTF::_parse_cameras(GLTFState &state) {
}
print_line("total cameras: " + itos(state.cameras.size()));
+
+ return OK;
}
Error EditorSceneImporterGLTF::_parse_animations(GLTFState &state) {