mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
Ignore new style instances
This commit is contained in:
parent
4ed04c5baf
commit
448d520043
1 changed files with 6 additions and 0 deletions
|
|
@ -77,6 +77,12 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
context.data['objectsets'] = objectset
|
||||
for objset in objectset:
|
||||
|
||||
if cmds.attributeQuery("creator_identifier",
|
||||
node=objset,
|
||||
exists=True):
|
||||
# Ignore new style instances
|
||||
continue
|
||||
|
||||
if not cmds.attributeQuery("id", node=objset, exists=True):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue