mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Avoid selection changes
This commit is contained in:
parent
861b9849cb
commit
3ee28bd1aa
1 changed files with 2 additions and 2 deletions
|
|
@ -47,10 +47,10 @@ class ValidateMeshArnoldAttributes(pyblish.api.InstancePlugin,
|
|||
# Get default arnold attribute values for mesh type.
|
||||
defaults = {}
|
||||
with delete_after() as tmp:
|
||||
transform = cmds.createNode("transform")
|
||||
transform = cmds.createNode("transform", skipSelect=True)
|
||||
tmp.append(transform)
|
||||
|
||||
mesh = cmds.createNode("mesh", parent=transform)
|
||||
mesh = cmds.createNode("mesh", parent=transform, skipSelect=True)
|
||||
arnold_attributes = cmds.listAttr(mesh,
|
||||
string="ai*",
|
||||
fromPlugin=True) or []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue