[Bf-blender-cvs] [caf89c3de16] master: Fix Object > Animation > Bake Action

Dalai Felinto noreply at git.blender.org
Thu Feb 14 15:02:24 CET 2019


Commit: caf89c3de16993a8153281ecf5919b40e2fff069
Author: Dalai Felinto
Date:   Thu Feb 14 13:51:14 2019 +0000
Branches: master
https://developer.blender.org/rBcaf89c3de16993a8153281ecf5919b40e2fff069

Fix Object > Animation > Bake Action

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

M	release/scripts/modules/bpy_extras/anim_utils.py

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

diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py
index 970512833b4..2894bab69c9 100644
--- a/release/scripts/modules/bpy_extras/anim_utils.py
+++ b/release/scripts/modules/bpy_extras/anim_utils.py
@@ -187,7 +187,7 @@ def bake_action_iter(
                 parent = obj.parent
                 matrix = obj.matrix_basis
                 if parent:
-                    return parent.matrix_world * matrix
+                    return parent.matrix_world @ matrix
                 else:
                     return matrix.copy()
     else:
@@ -196,7 +196,7 @@ def bake_action_iter(
                 parent = obj.parent
                 matrix = obj.matrix_world
                 if parent:
-                    return parent.matrix_world.inverted_safe() * matrix
+                    return parent.matrix_world.inverted_safe() @ matrix
                 else:
                     return matrix.copy()
         else:



More information about the Bf-blender-cvs mailing list