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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-08-05 14:28:05 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-08-05 14:30:31 +0300
commit39b47b750841094b42f47fac862f464e992616d6 (patch)
treefedf19f2d51e675eafc24e43d7f3044f22199b2d /io_scene_fbx
parent6f6bf26c901f086d2616ab6f9274fe110320bc6d (diff)
Fix related to T45584: 'NLA Strips' animation export mode was not using 'Force Start/End Keying' correctly.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx_bin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index cfb57689..46415b2f 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):