mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
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:
commit
dfb97ff40e
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue