We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Maya rotate and scale manipulators on usdUfe objects ignore rotate/scale center options. Transformation is always applied about each object pivot.
Steps to reproduce
import maya.cmds import mayaUsd.ufe import mayaUsd_createStageWithNewLayer maya.cmds.loadPlugin("mayaUsdPlugin", quiet=True) proxyShape = mayaUsd_createStageWithNewLayer.createStageWithNewLayer() shapeStage = mayaUsd.ufe.getStage(proxyShape) shapeStage.GetRootLayer().ImportFromString('''#sdf 1 def Sphere "Sphere" { } def Cube "Cube" { double3 xformOp:translate = (5, 0, 0) uniform token[] xformOpOrder = ["xformOp:translate"] } ''')
Sphere
Cube
maya.cmds.select(f"{proxyShape},/Sphere", f"{proxyShape},/Cube") maya.cmds.setToolTo("RotateSuperContext")
Rotate Center
Manip
manipRotateContext
maya.cmds.manipRotateContext("Rotate", e=True, useManipPivot=True, useObjectPivot=False, useCenterPivot=False)
Manipulate and notice Sphere is not rotated about Cube's pivot as expected.
Set it now to Selection
Selection
maya.cmds.manipRotateContext("Rotate", e=True, useCenterPivot=True, useObjectPivot=False, useManipPivot=False)
Specs (if applicable):
The text was updated successfully, but these errors were encountered:
Issue synced internally to EMSUSD-839
Sorry, something went wrong.
santosg87
No branches or pull requests
Describe the bug
Maya rotate and scale manipulators on usdUfe objects ignore rotate/scale center options. Transformation is always applied about each object pivot.
Steps to reproduce
Sphere
thenCube
prims and activate rotate manip.Rotate Center
toManip
in tool settings or withmanipRotateContext
command.Manipulate and notice Sphere is not rotated about Cube's pivot as expected.
Set it now to
Selection
Specs (if applicable):
The text was updated successfully, but these errors were encountered: