diff --git a/external/openfbx/ofbx.cpp b/external/openfbx/ofbx.cpp index b2551b8b5f..ededc23fff 100644 --- a/external/openfbx/ofbx.cpp +++ b/external/openfbx/ofbx.cpp @@ -2457,6 +2457,9 @@ struct OptionalError parseCamera(Scene& scene, const Element& element, CameraImpl* camera = allocator.allocate(scene, element); camera->projectionType = static_cast(resolveEnumProperty(*camera, "ProjectionType", (int)Camera::ProjectionType::PERSPECTIVE)); + // try "CameraProjectionType" too, see https://github.com/nem0/OpenFBX/issues/105 + camera->projectionType = static_cast(resolveEnumProperty(*camera, "CameraProjectionType", (int)camera->projectionType)); + camera->apertureMode = static_cast(resolveEnumProperty(*camera, "ApertureMode", (int)Camera::ApertureMode::HORIZANDVERT)); camera->gateFit = static_cast(resolveEnumProperty(*camera, "GateFit", (int)Camera::GateFit::HORIZONTAL));