diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-19 16:36:15 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-19 16:36:15 +0400 |
commit | c5bc1f6da7199a89fd8af893dec210343bf6116d (patch) | |
tree | b44b76137eb0ab68361b365a6460ba97e5af58b7 | |
parent | f7ef101d09b0bdb34f88629f0feab5af6d274b43 (diff) |
FBX IO: Cleanup: fix stupid typo in func name!
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 4 | ||||
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 | ||||
-rw-r--r-- | io_scene_fbx_experimental/export_fbx_bin.py | 4 | ||||
-rw-r--r-- | 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 f7323863..361d7fff 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 e3218699..2b96fe0b 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 cd85691a..494f0a68 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 6e9bf874..a2f74d12 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 |