Skip to content

Commit

Permalink
Core: fix error with bake locak to offset parent matrix, when attr ar…
Browse files Browse the repository at this point in the history
…e lock
  • Loading branch information
miquelcampos committed Jul 19, 2024
1 parent d53f586 commit 53a927f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release/scripts/mgear/core/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,9 +980,7 @@ def bake_local_to_offset_parent_matrix(node):
node.setAttr("offsetParentMatrix", new_offset_matrix)

# Reset local transform values to neutral
node.setAttr("scale", (1, 1, 1))
node.setAttr("rotate", (0, 0, 0))
node.setAttr("translate", (0, 0, 0))
resetTransform(node)


def rotate_180(axis="Y", rotation_order="XYZ", objects=None):
Expand Down

0 comments on commit 53a927f

Please sign in to comment.