mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update openpype/plugins/publish/collect_scene_version.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
4c695d9ebc
commit
69bfcd6a30
1 changed files with 4 additions and 3 deletions
|
|
@ -35,9 +35,10 @@ class CollectSceneVersion(pyblish.api.ContextPlugin):
|
|||
|
||||
def process(self, context):
|
||||
# tests should be close to regular publish as possible
|
||||
if (context.data["hostName"] in self.skip_hosts_headless_publish
|
||||
and os.environ.get("HEADLESS_PUBLISH")
|
||||
and not os.environ.get("IS_TEST")):
|
||||
if (
|
||||
os.environ.get("HEADLESS_PUBLISH")
|
||||
and not os.environ.get("IS_TEST")
|
||||
and context.data["hostName"] in self.skip_hosts_headless_publish):
|
||||
self.log.debug("Skipping for headless publishing")
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue