Include staging dir with the frames to be published

This commit is contained in:
Roy Nieterau 2024-05-20 07:54:07 +02:00
parent c1995646d2
commit 3dae818df6

View file

@ -60,7 +60,10 @@ class CollectFrames(pyblish.api.InstancePlugin):
# todo: `frames` currently conflicts with "explicit frames" for a
# for a custom frame list. So this should be refactored.
instance.data.update({"frames": result})
instance.data.update({
"frames": result,
"stagingDir": os.path.dirname(output)
})
@staticmethod
def create_file_list(match, start_frame, end_frame):