Fix #105088: FBX Camera Focus Distance is interpreted as millimeters #105124

Merged
Thomas Barlow merged 4 commits from Mysteryem/blender-addons:fix_105088_fbx_camera_focus_distance_mm into main 2024-01-16 21:48:22 +01:00

4 Commits

Author SHA1 Message Date
24d330503d Increase FBX IO version 2024-01-16 20:46:48 +00:00
24cb20a61f Merge branch 'main' into fix_105088_fbx_camera_focus_distance_mm
# Conflicts:
#	io_scene_fbx/__init__.py
2024-01-16 20:46:29 +00:00
88271db446 Increase FBX IO version 2024-01-16 20:42:48 +00:00
6d8622ecd0 Fix #105088: FBX Camera Focus Distance is interpreted as millimeters
FBX IO has been converting the Camera `FocusDistance` property from
millimeters on import and to millimeters on export, however, this
appears to have been incorrect because `FocusDistance` appears to be
in meters instead.

The FBX SDK used to have deprecated `SetSpecificDistance()` and
`GetSpecificDistance()` functions that were documented as accessing
Camera Focus Distance in millimeters.

The documentation of these functions appears to have been incorrectly
attributed to the Camera Focus Distance property itself, which could be
accessed directly without the deprecated functions, and appears to be
stored in meters.
2023-12-31 01:35:36 +00:00