fixing missing families in loader plugin procedure

merging https://github.com/ynput/ayon-core/pull/589
This commit is contained in:
Jakub Jezek 2024-06-04 14:55:48 +02:00
parent e483f14a4d
commit 213742c877
No known key found for this signature in database
GPG key ID: 06DBD609ADF27FD9

View file

@ -550,7 +550,8 @@ class ClipLoader:
log.debug("__ self.timeline_out: {}".format(self.timeline_out))
# check if slate is included
slate_on = "slate" in self.context["version"]["data"]["families"]
slate_on = "slate" in self.context["version"]["data"].get(
"families", [])
log.debug("__ slate_on: {}".format(slate_on))
# if slate is on then remove the slate frame from beginning