assetEntity is not on context data

This commit is contained in:
Jakub Jezek 2023-09-25 17:29:14 +02:00
parent 92bc7c12f9
commit a73ba98209
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -29,7 +29,7 @@ class CollectSequenceFrameData(pyblish.api.InstancePlugin):
def get_frame_data_from_repre_sequence(self, instance):
repres = instance.data.get("representations")
parent_entity = (
instance.context.data.get("assetEntity")
instance.data.get("assetEntity")
or instance.context.data["projectEntity"]
)
if repres: