Merged in tokejepsen/pype/hotfix/integrate_copy_files (pull request #245)

Missing copy for transfers.

Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
Toke Jepsen 2019-08-04 20:33:41 +00:00 committed by Milan Kolar
commit dfb97ff40e

View file

@ -411,6 +411,10 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
instance: the instance to integrate
"""
transfers = instance.data.get("transfers", list())
for src, dest in transfers:
self.copy_file(src, dest)
# Produce hardlinked copies
# Note: hardlink can only be produced between two files on the same
# server/disk and editing one of the two will edit both files at once.