From c5bc1f6da7199a89fd8af893dec210343bf6116d Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Fri, 19 Sep 2014 14:36:15 +0200 Subject: [PATCH] FBX IO: Cleanup: fix stupid typo in func name! --- io_scene_fbx/export_fbx_bin.py | 4 ++-- io_scene_fbx/fbx_utils.py | 2 +- io_scene_fbx_experimental/export_fbx_bin.py | 4 ++-- io_scene_fbx_experimental/fbx_utils.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index f73238632..361d7fff6 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -1789,7 +1789,7 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No # Objects-like loc/rot/scale... for ob_obj, anims in animdata_ob.items(): for anim in anims: - anim.simplfy(simplify_fac, bake_step, force_keep) + anim.simplify(simplify_fac, bake_step, force_keep) if not anim: continue for obj_key, group_key, group, fbx_group, fbx_gname in anim.get_final_data(scene, ref_id, force_keep): @@ -1801,7 +1801,7 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No # And meshes' shape keys. for channel_key, (anim_shape, me, shape) in animdata_shapes.items(): final_keys = OrderedDict() - anim_shape.simplfy(simplify_fac, bake_step, force_keep) + anim_shape.simplify(simplify_fac, bake_step, force_keep) if not anim_shape: continue for elem_key, group_key, group, fbx_group, fbx_gname in anim_shape.get_final_data(scene, ref_id, force_keep): diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index e3218699c..2b96fe0be 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -679,7 +679,7 @@ class AnimationCurveNodeWrapper: assert(len(values) == len(self.fbx_props[0])) self._keys.append((frame, values, [True] * len(values))) # write everything by default. - def simplfy(self, fac, step, force_keep=False): + def simplify(self, fac, step, force_keep=False): """ Simplifies sampled curves by only enabling samples when: * their values differ significantly from the previous sample ones, or diff --git a/io_scene_fbx_experimental/export_fbx_bin.py b/io_scene_fbx_experimental/export_fbx_bin.py index cd85691a1..494f0a68a 100644 --- a/io_scene_fbx_experimental/export_fbx_bin.py +++ b/io_scene_fbx_experimental/export_fbx_bin.py @@ -1880,7 +1880,7 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No # Objects-like loc/rot/scale... for ob_obj, anims in animdata_ob.items(): for anim in anims: - anim.simplfy(simplify_fac, bake_step, force_keep) + anim.simplify(simplify_fac, bake_step, force_keep) if not anim: continue for obj_key, group_key, group, fbx_group, fbx_gname in anim.get_final_data(scene, ref_id, force_keep): @@ -1892,7 +1892,7 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No # And meshes' shape keys. for channel_key, (anim_shape, me, shape) in animdata_shapes.items(): final_keys = OrderedDict() - anim_shape.simplfy(simplify_fac, bake_step, force_keep) + anim_shape.simplify(simplify_fac, bake_step, force_keep) if not anim_shape: continue for elem_key, group_key, group, fbx_group, fbx_gname in anim_shape.get_final_data(scene, ref_id, force_keep): diff --git a/io_scene_fbx_experimental/fbx_utils.py b/io_scene_fbx_experimental/fbx_utils.py index 6e9bf8740..a2f74d12b 100644 --- a/io_scene_fbx_experimental/fbx_utils.py +++ b/io_scene_fbx_experimental/fbx_utils.py @@ -679,7 +679,7 @@ class AnimationCurveNodeWrapper: assert(len(values) == len(self.fbx_props[0])) self._keys.append((frame, values, [True] * len(values))) # write everything by default. - def simplfy(self, fac, step, force_keep=False): + def simplify(self, fac, step, force_keep=False): """ Simplifies sampled curves by only enabling samples when: * their values differ significantly from the previous sample ones, or -- GitLab