[Bf-extensions-cvs] [f9a39c7] master: Fix T42730: FBX Binary Export - last frame of animations was not exported.
Bastien Montagne
noreply at git.blender.org
Thu Nov 27 09:35:15 CET 2014
Commit: f9a39c7e1d6efd0104eba81e1f1c1d34e37f54d6
Author: Bastien Montagne
Date: Thu Nov 27 09:34:02 2014 +0100
Branches: master
https://developer.blender.org/rBAf9a39c7e1d6efd0104eba81e1f1c1d34e37f54d6
Fix T42730: FBX Binary Export - last frame of animations was not exported.
===================================================================
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 d6c296a..f2e4d01 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -1842,7 +1842,7 @@ def fbx_animations_do(scene_data, ref_id, f_start, f_end, start_zero, objects=No
p_rots = {}
currframe = f_start
- while currframe < f_end:
+ while currframe <= f_end:
real_currframe = currframe - f_start if start_zero else currframe
scene.frame_set(int(currframe), currframe - int(currframe))
More information about the Bf-extensions-cvs
mailing list