2
0
Эх сурвалжийг харах

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

Juan Linietsky 8 жил өмнө
parent
commit
ded74dedef

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