mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
make sure render metadta.json path always starts with / onlinux
This commit is contained in:
parent
e8d18aa3a8
commit
d32bf44a0f
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ Provides:
|
|||
|
||||
import re
|
||||
import os
|
||||
import platform
|
||||
import json
|
||||
|
||||
from maya import cmds
|
||||
|
|
@ -255,6 +256,11 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
|
|||
common_publish_meta_path, part)
|
||||
if part == expected_layer_name:
|
||||
break
|
||||
|
||||
# TODO: replace this terrible linux hotfix with real solution :)
|
||||
if platform.system() == "Linux":
|
||||
common_publish_meta_path = "/" + common_publish_meta_path
|
||||
|
||||
self.log.info(
|
||||
"Publish meta path: {}".format(common_publish_meta_path))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue