Alembic Loader as Arnold Standin

This commit is contained in:
Kayla Man 2022-11-01 20:38:51 +08:00
parent 02fb9561d7
commit 6b0d25cb7c

View file

@ -55,7 +55,8 @@ class AlembicStandinLoader(load.LoaderPlugin):
transform_name = label + "_ABC"
standinShape = cmds.ls(mtoa.ui.arnoldmenu.createStandIn())[0]
standin = cmds.listRelatives(standinShape, parent=True, typ="transform")
standin = cmds.listRelatives(standinShape, parent=True,
typ="transform")
standin = cmds.rename(standin, transform_name)
standinShape = cmds.listRelatives(standin, children=True)[0]