Browse Source

Fixed missing return value in glTF2.0 importer camera, closes #10130

Juan Linietsky 8 years ago
parent
commit
ded74dedef
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/import/editor_scene_importer_gltf.cpp

+ 2 - 0
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) {