Keep a reference to the instance objectSet upon collection

This commit is contained in:
Roy Nieterau 2018-10-05 12:20:57 +02:00
parent dcac192e9c
commit f8f8bd2ebf

View file

@ -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