From 56efcf365f6b9619818a1a29e719d354c9130b73 Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Fri, 20 Sep 2024 15:35:35 +0800 Subject: [PATCH] fix the mirrored x --- client/ayon_maya/plugins/load/load_layout.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/ayon_maya/plugins/load/load_layout.py b/client/ayon_maya/plugins/load/load_layout.py index 334c298..50d92c4 100644 --- a/client/ayon_maya/plugins/load/load_layout.py +++ b/client/ayon_maya/plugins/load/load_layout.py @@ -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"] ] @@ -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):