From f9a39c7e1d6efd0104eba81e1f1c1d34e37f54d6 Mon Sep 17 00:00:00 2001
From: Bastien Montagne <montagne29@wanadoo.fr>
Date: Thu, 27 Nov 2014 09:34:02 +0100
Subject: [PATCH] Fix T42730: FBX Binary Export - last frame of animations was
 not exported.

---
 io_scene_fbx/export_fbx_bin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index d6c296a91..f2e4d019e 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))
 
-- 
GitLab