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/fbx_utils.py | |
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/fbx_utils.py')
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |