From 95be7d78bd3b87866695f57885aeea8b1bacb532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= <33513211+antirotor@users.noreply.github.com> Date: Mon, 8 Feb 2021 15:57:26 +0100 Subject: [PATCH 1/2] disable hardlinks --- pype/plugins/maya/publish/extract_look.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pype/plugins/maya/publish/extract_look.py b/pype/plugins/maya/publish/extract_look.py index 7a5dc25fcf3..feb5ffa2cea 100644 --- a/pype/plugins/maya/publish/extract_look.py +++ b/pype/plugins/maya/publish/extract_look.py @@ -192,6 +192,14 @@ def process(self, instance): if forceCopy: mode = COPY + # fixme: This is temporary hack to disable hardlink. + # There is issue in some cases where hardlinks + # don't work with maketx tool, blocking files and + # breaking integration. This must be investigated + # further and until then, we disable creation of + # hardlinks here. + mode = COPY + if mode == COPY: transfers.append((source, destination)) self.log.info('copying') From 1dfeaebd71803b8c480c5f2d2f98ff6268b1a3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= <33513211+antirotor@users.noreply.github.com> Date: Mon, 8 Feb 2021 16:00:29 +0100 Subject: [PATCH 2/2] fix hound --- pype/plugins/maya/publish/extract_look.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/plugins/maya/publish/extract_look.py b/pype/plugins/maya/publish/extract_look.py index feb5ffa2cea..7317864ab1d 100644 --- a/pype/plugins/maya/publish/extract_look.py +++ b/pype/plugins/maya/publish/extract_look.py @@ -199,7 +199,7 @@ def process(self, instance): # further and until then, we disable creation of # hardlinks here. mode = COPY - + if mode == COPY: transfers.append((source, destination)) self.log.info('copying')