[Bf-extensions-cvs] [f9693237] blender-v2.81-release: glTF exporter: fix out tangent export (copy/paste ...)

Julien Duroure noreply at git.blender.org
Tue Oct 22 07:00:49 CEST 2019


Commit: f9693237686b7b4aa6c7041bf66df5f1caa963fc
Author: Julien Duroure
Date:   Tue Oct 22 06:59:47 2019 +0200
Branches: blender-v2.81-release
https://developer.blender.org/rBAf9693237686b7b4aa6c7041bf66df5f1caa963fc

glTF exporter: fix out tangent export (copy/paste ...)

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

M	io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py

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

diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py
index 8b6f0db6..8e2c67b2 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py
@@ -111,7 +111,7 @@ class Keyframe:
 
     @property
     def out_tangent(self) -> typing.Union[mathutils.Vector, mathutils.Euler, mathutils.Quaternion, typing.List[float]]:
-        return self.__in_tangent
+        return self.__out_tangent
 
     @out_tangent.setter
     def out_tangent(self, value: typing.List[float]):



More information about the Bf-extensions-cvs mailing list