浏览代码

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

Juan Linietsky 8 年之前
父节点
当前提交
ded74dedef
共有 1 个文件被更改,包括 2 次插入0 次删除
  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()));
 	print_line("total cameras: " + itos(state.cameras.size()));
+
+	return OK;
 }
 }
 
 
 Error EditorSceneImporterGLTF::_parse_animations(GLTFState &state) {
 Error EditorSceneImporterGLTF::_parse_animations(GLTFState &state) {