Skip to content

Commit

Permalink
fix the mirrored x
Browse files Browse the repository at this point in the history
  • Loading branch information
moonyuet committed Sep 20, 2024
1 parent 1af2a88 commit 56efcf3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/ayon_maya/plugins/load/load_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def set_transformation(self, instance_name, transform):
math.degrees(transform["rotation"]["y"]),
]
scale = [
transform["scale"]["x"],
-transform["scale"]["x"],
transform["scale"]["z"],
transform["scale"]["y"]
]
Expand All @@ -181,8 +181,7 @@ def set_transformation(self, instance_name, transform):
asset,
translation=translation,
rotation=rotation,
scale=scale,
rotatePivot=[-90, 0, 0]
scale=scale
)

def load(self, context, name, namespace, options):
Expand Down

0 comments on commit 56efcf3

Please sign in to comment.