From 895adea13fbe41587e81e8e4d0a247dbf8e6ddb5 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 30 May 2024 13:03:45 +0200 Subject: [PATCH] add settings category --- client/ayon_harmony/plugins/publish/collect_palettes.py | 2 ++ client/ayon_harmony/plugins/publish/validate_audio.py | 1 + client/ayon_harmony/plugins/publish/validate_scene_settings.py | 1 + 3 files changed, 4 insertions(+) diff --git a/client/ayon_harmony/plugins/publish/collect_palettes.py b/client/ayon_harmony/plugins/publish/collect_palettes.py index 818d9af..fb40196 100644 --- a/client/ayon_harmony/plugins/publish/collect_palettes.py +++ b/client/ayon_harmony/plugins/publish/collect_palettes.py @@ -14,6 +14,8 @@ class CollectPalettes(pyblish.api.ContextPlugin): order = pyblish.api.CollectorOrder + 0.003 hosts = ["harmony"] + settings_category = "harmony" + # list of regexes for task names where collecting should happen allowed_tasks = [] diff --git a/client/ayon_harmony/plugins/publish/validate_audio.py b/client/ayon_harmony/plugins/publish/validate_audio.py index f2c1cfc..6caa12c 100644 --- a/client/ayon_harmony/plugins/publish/validate_audio.py +++ b/client/ayon_harmony/plugins/publish/validate_audio.py @@ -18,6 +18,7 @@ class ValidateAudio(pyblish.api.InstancePlugin): label = "Validate Audio" families = ["render"] hosts = ["harmony"] + settings_category = "harmony" optional = True def process(self, instance): diff --git a/client/ayon_harmony/plugins/publish/validate_scene_settings.py b/client/ayon_harmony/plugins/publish/validate_scene_settings.py index 3a4847d..082eb4f 100644 --- a/client/ayon_harmony/plugins/publish/validate_scene_settings.py +++ b/client/ayon_harmony/plugins/publish/validate_scene_settings.py @@ -42,6 +42,7 @@ class ValidateSceneSettings(pyblish.api.InstancePlugin): families = ["workfile"] hosts = ["harmony"] actions = [ValidateSceneSettingsRepair] + settings_category = "harmony" optional = True # skip frameEnd check if asset contains any of: