Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-02-14 16:51:14 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-02-14 16:54:15 +0300
commitcaf89c3de16993a8153281ecf5919b40e2fff069 (patch)
treeef488805cd77e00056dbec65be144a76e1207371 /release/scripts/modules
parent4f920371580b07b9b5cbaeef2f3edb46592bd155 (diff)
Fix Object > Animation > Bake Action
Diffstat (limited to 'release/scripts/modules')
-rw-r--r--release/scripts/modules/bpy_extras/anim_utils.py4
1 files changed, 2 insertions, 2 deletions
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: