From d22e5002f0a798174b8744edfa6acef25cce393e Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Wed, 3 Aug 2011 11:03:04 +0000 Subject: [PATCH] fix for spelling error in var name --- io_scene_fbx/__init__.py | 2 +- io_scene_fbx/export_fbx.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 01332a6b5..724001e50 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -152,7 +152,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper): description="Remove double keyframes", default=True, ) - anim_optimize_precission = FloatProperty( + anim_optimize_precision = FloatProperty( name="Precision", description=("Tolerence for comparing double keyframes " "(higher for greater accuracy)"), diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index d38ff1b93..e3cc0e37c 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -198,7 +198,7 @@ def save_single(operator, scene, filepath="", mesh_smooth_type='FACE', use_anim=True, use_anim_optimize=True, - anim_optimize_precission=6, + anim_optimize_precision=6, use_anim_action_all=False, use_metadata=True, path_mode='AUTO', @@ -2479,7 +2479,7 @@ Connections: {''') frame_orig = scene.frame_current if use_anim_optimize: - ANIM_OPTIMIZE_PRECISSION_FLOAT = 0.1 ** anim_optimize_precission + ANIM_OPTIMIZE_PRECISSION_FLOAT = 0.1 ** anim_optimize_precision # default action, when no actions are avaioable tmp_actions = [] -- GitLab