diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-14 21:49:48 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-14 21:49:48 +0300 |
commit | 3d0f53c1d65f3a55d108f25b1ee8f391ef323910 (patch) | |
tree | 56b55404245156b7091d865195d9efe8ccb9571b /io_scene_fbx | |
parent | 861519e44adc5674545fa18202dc43c4c20f2d1d (diff) |
Fix T45426: fbx exporting animation of 'noise' produced by float precision error.
Looks like our absolute max diff in animation simplification process was a bit too low,
raised it from 1e-6 to 1e-5, fixes the issue in reported file at least.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/__init__.py | 2 | ||||
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 0259bbd3..da4a4233 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "FBX format", "author": "Campbell Barton, Bastien Montagne, Jens Restemeier", - "version": (3, 4, 6), + "version": (3, 4, 7), "blender": (2, 74, 0), "location": "File > Import-Export", "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions", diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 4df68772..cb761dd3 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -777,7 +777,7 @@ class AnimationCurveNodeWrapper: # So that, with default factor and step values (1), we get: max_frame_diff = step * fac * 10 # max step of 10 frames. value_diff_fac = fac / 1000 # min value evolution: 0.1% of whole range. - min_significant_diff = 1.0e-6 + min_significant_diff = 1.0e-5 keys = self._keys extremums = tuple((min(values), max(values)) for values in zip(*(k[1] for k in keys))) |