mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Reset pivot to zero.
This commit is contained in:
parent
e0596efd10
commit
ef49798abd
1 changed files with 1 additions and 7 deletions
|
|
@ -36,13 +36,7 @@ class RigLoader(pype.maya.plugin.ReferenceLoader):
|
|||
groupReference=True,
|
||||
groupName=groupName)
|
||||
|
||||
# Try/Except because grouping joints with skinning fails.
|
||||
try:
|
||||
cmds.makeIdentity(
|
||||
groupName, apply=False, rotate=True, translate=True, scale=True
|
||||
)
|
||||
except RuntimeError:
|
||||
pass
|
||||
cmds.xform(groupName, pivots=(0, 0, 0))
|
||||
|
||||
presets = config.get_presets(project=os.environ['AVALON_PROJECT'])
|
||||
colors = presets['plugins']['maya']['load']['colors']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue