mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix errors being logged to script editor when attribute is not user-defined attribute.
This commit is contained in:
parent
b2d6011d21
commit
c8da4709fe
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@ class ValidateRigControllers(pyblish.api.InstancePlugin):
|
|||
continue
|
||||
|
||||
# Ignore proxy connections.
|
||||
if cmds.addAttr(plug, query=True, usedAsProxy=True):
|
||||
if (cmds.addAttr(plug, query=True, exists=True) and
|
||||
cmds.addAttr(plug, query=True, usedAsProxy=True)):
|
||||
continue
|
||||
|
||||
# Check for incoming connections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue