[Bf-extensions-cvs] [acf763d] master: FBX export: animcurves: no need to cheat here, we do export linear only, say it!

Bastien Montagne noreply at git.blender.org
Fri May 23 17:49:05 CEST 2014


Commit: acf763dd4e63681d1c3da287aaf155ed86096f13
Author: Bastien Montagne
Date:   Fri May 23 17:47:08 2014 +0200
https://developer.blender.org/rBAacf763dd4e63681d1c3da287aaf155ed86096f13

FBX export: animcurves: no need to cheat here, we do export linear only, say it!

===================================================================

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 370de43..85b70c2 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -1446,7 +1446,7 @@ def fbx_data_animation_elements(root, scene_data):
                         nbr_keys = len(keys)
                         # flags...
                         keyattr_flags = (
-                            1 << 3 |   # interpolation mode, 1 = constant, 2 = linear, 3 = cubic.
+                            1 << 2 |   # interpolation mode, 1 = constant, 2 = linear, 3 = cubic.
                             1 << 8 |   # tangent mode, 8 = auto, 9 = TCB, 10 = user, 11 = generic break,
                             1 << 13 |  # tangent mode, 12 = generic clamp, 13 = generic time independent,
                             1 << 14 |  # tangent mode, 13 + 14 = generic clamp progressive.



More information about the Bf-extensions-cvs mailing list