Fix Object > Animation > Bake Action
This commit is contained in:
@@ -187,7 +187,7 @@ def bake_action_iter(
|
|||||||
parent = obj.parent
|
parent = obj.parent
|
||||||
matrix = obj.matrix_basis
|
matrix = obj.matrix_basis
|
||||||
if parent:
|
if parent:
|
||||||
return parent.matrix_world * matrix
|
return parent.matrix_world @ matrix
|
||||||
else:
|
else:
|
||||||
return matrix.copy()
|
return matrix.copy()
|
||||||
else:
|
else:
|
||||||
@@ -196,7 +196,7 @@ def bake_action_iter(
|
|||||||
parent = obj.parent
|
parent = obj.parent
|
||||||
matrix = obj.matrix_world
|
matrix = obj.matrix_world
|
||||||
if parent:
|
if parent:
|
||||||
return parent.matrix_world.inverted_safe() * matrix
|
return parent.matrix_world.inverted_safe() @ matrix
|
||||||
else:
|
else:
|
||||||
return matrix.copy()
|
return matrix.copy()
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user