mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Keep a reference to the instance objectSet upon collection
This commit is contained in:
parent
dcac192e9c
commit
f8f8bd2ebf
1 changed files with 6 additions and 0 deletions
|
|
@ -115,7 +115,13 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
# Create the instance
|
||||
instance = context.create_instance(label)
|
||||
instance[:] = members_hierarchy
|
||||
|
||||
# Store a reference to the object set of this instance
|
||||
instance.data["objectSet"] = objset
|
||||
|
||||
# Store the exact members of the object set
|
||||
instance.data["setMembers"] = members
|
||||
|
||||
instance.data.update(data)
|
||||
|
||||
# Produce diagnostic message for any graphical
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue