Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-09-07 04:36:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-07 04:36:56 +0400
commitf85cd06873a991fec91766ea8cd5efe3eda17594 (patch)
treeb927cf06a4ff622a70bb897eaf5edbd82b2cac93
parent0ec6abd2d19d4569fc180aeef516a3bd444bc155 (diff)
When Optimize keyframes was enabled, the comma's wernt written in the right place, oddly enough this still loaded in the FBX SDK.
-rw-r--r--release/scripts/export_fbx.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/export_fbx.py b/release/scripts/export_fbx.py
index d08d54f0a2d..581f913a7fb 100644
--- a/release/scripts/export_fbx.py
+++ b/release/scripts/export_fbx.py
@@ -2584,9 +2584,9 @@ Takes: {''')
else:
# We only need to write these if there is at least one
file.write('\n\t\t\t\t\t\tKeyCount: %i' % len(context_bone_anim_keys))
- file.write('\n\t\t\t\t\t\tKey: ')
- for val, frame in context_bone_anim_keys:
- if frame!=act_start:
+ file.write('\n\t\t\t\t\t\tKey: ')
+ for val, frame in context_bone_anim_keys:
+ if frame != context_bone_anim_keys[0][1]: # not the first
file.write(',')
# frame is alredy one less then blenders frame
file.write('\n\t\t\t\t\t\t\t%i,%.15f,C,n' % (fbx_time(frame), val ))