[Bf-extensions-cvs] [d9bdae1d] master: Fix T63624: Rigify Quaternion/Euler conversion errors (2.8 compat fix).

Alexander Gavrilov noreply at git.blender.org
Mon May 27 20:28:15 CEST 2019


Commit: d9bdae1d6dd48e184629d4cf2b81c694e5246f75
Author: Alexander Gavrilov
Date:   Mon May 27 21:26:37 2019 +0300
Branches: master
https://developer.blender.org/rBAd9bdae1d6dd48e184629d4cf2b81c694e5246f75

Fix T63624: Rigify Quaternion/Euler conversion errors (2.8 compat fix).

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

M	rigify/rot_mode.py

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

diff --git a/rigify/rot_mode.py b/rigify/rot_mode.py
index fbc425f6..50e79877 100644
--- a/rigify/rot_mode.py
+++ b/rigify/rot_mode.py
@@ -50,7 +50,7 @@ class convert():
             if fc.data_path == data_path and (array_index < 0 or fc.array_index == array_index):
                 return fc
 
-        fc = action.fcurves.new(data_path, array_index)
+        fc = action.fcurves.new(data_path, index=array_index)
         fc.group = group
         return fc



More information about the Bf-extensions-cvs mailing list