[Bf-extensions-cvs] [39b47b7] master: Fix related to T45584: 'NLA Strips' animation export mode was not using 'Force Start/End Keying' correctly.
Bastien Montagne
noreply at git.blender.org
Wed Aug 5 13:30:59 CEST 2015
Commit: 39b47b750841094b42f47fac862f464e992616d6
Author: Bastien Montagne
Date: Wed Aug 5 13:28:05 2015 +0200
Branches: master
https://developer.blender.org/rBA39b47b750841094b42f47fac862f464e992616d6
Fix related to T45584: 'NLA Strips' animation export mode was not using 'Force Start/End Keying' correctly.
===================================================================
M io_scene_fbx/export_fbx_bin.py
===================================================================
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index cfb5768..46415b2 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2000,7 +2000,7 @@ def fbx_animations(scene_data):
for strip in strips:
strip.mute = False
add_anim(animations, animated,
- fbx_animations_do(scene_data, strip, strip.frame_start, strip.frame_end, True))
+ fbx_animations_do(scene_data, strip, strip.frame_start, strip.frame_end, True, force_keep=True))
strip.mute = True
for strip in strips:
@@ -2066,7 +2066,8 @@ def fbx_animations(scene_data):
ob.animation_data.action = act
frame_start, frame_end = act.frame_range # sic!
add_anim(animations, animated,
- fbx_animations_do(scene_data, (ob, act), frame_start, frame_end, True, {ob_obj}, True))
+ fbx_animations_do(scene_data, (ob, act), frame_start, frame_end, True,
+ objects={ob_obj}, force_keep=True))
# Ugly! :/
if pbones_matrices is not ...:
for pbo, mat in zip(ob.pose.bones, pbones_matrices):
More information about the Bf-extensions-cvs
mailing list