From 7c7b98387868c4d52cd2bd25d64694949576507d Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 1 Dec 2025 03:21:00 +0100 Subject: [PATCH] Initial support for The Foundry Katana --- client/ayon_core/hooks/pre_add_last_workfile_arg.py | 1 + client/ayon_core/hooks/pre_ocio_hook.py | 1 + client/ayon_core/plugins/publish/extract_review.py | 1 + client/ayon_core/plugins/publish/extract_thumbnail.py | 1 + client/ayon_core/plugins/publish/validate_file_saved.py | 2 +- server/settings/publish_plugins.py | 3 ++- 6 files changed, 7 insertions(+), 2 deletions(-) diff --git a/client/ayon_core/hooks/pre_add_last_workfile_arg.py b/client/ayon_core/hooks/pre_add_last_workfile_arg.py index 752302bb20..9ecc13d1af 100644 --- a/client/ayon_core/hooks/pre_add_last_workfile_arg.py +++ b/client/ayon_core/hooks/pre_add_last_workfile_arg.py @@ -33,6 +33,7 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook): "cinema4d", "silhouette", "gaffer", + "katana", "loki", } launch_types = {LaunchTypes.local} diff --git a/client/ayon_core/hooks/pre_ocio_hook.py b/client/ayon_core/hooks/pre_ocio_hook.py index be086dae65..d4f81d0d1f 100644 --- a/client/ayon_core/hooks/pre_ocio_hook.py +++ b/client/ayon_core/hooks/pre_ocio_hook.py @@ -24,6 +24,7 @@ class OCIOEnvHook(PreLaunchHook): "cinema4d", "silhouette", "gaffer", + "katana", "loki", } launch_types = set() diff --git a/client/ayon_core/plugins/publish/extract_review.py b/client/ayon_core/plugins/publish/extract_review.py index 16fb22524c..d21ccf476e 100644 --- a/client/ayon_core/plugins/publish/extract_review.py +++ b/client/ayon_core/plugins/publish/extract_review.py @@ -165,6 +165,7 @@ class ExtractReview(pyblish.api.InstancePlugin): "batchdelivery", "photoshop", "substancepainter", + "katana", ] settings_category = "core" diff --git a/client/ayon_core/plugins/publish/extract_thumbnail.py b/client/ayon_core/plugins/publish/extract_thumbnail.py index 2a43c12af3..1017390bbf 100644 --- a/client/ayon_core/plugins/publish/extract_thumbnail.py +++ b/client/ayon_core/plugins/publish/extract_thumbnail.py @@ -48,6 +48,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin): "unreal", "houdini", "batchdelivery", + "katana", ] settings_category = "core" enabled = False diff --git a/client/ayon_core/plugins/publish/validate_file_saved.py b/client/ayon_core/plugins/publish/validate_file_saved.py index 28734ba714..645c977c6b 100644 --- a/client/ayon_core/plugins/publish/validate_file_saved.py +++ b/client/ayon_core/plugins/publish/validate_file_saved.py @@ -37,7 +37,7 @@ class ValidateCurrentSaveFile(pyblish.api.ContextPlugin): label = "Validate File Saved" order = pyblish.api.ValidatorOrder - 0.1 hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter", - "cinema4d", "silhouette", "gaffer", "blender", "loki"] + "cinema4d", "silhouette", "gaffer", "blender", "katana", "loki"] actions = [SaveByVersionUpAction, ShowWorkfilesAction] def process(self, context): diff --git a/server/settings/publish_plugins.py b/server/settings/publish_plugins.py index 18cba5cd76..8484e4dade 100644 --- a/server/settings/publish_plugins.py +++ b/server/settings/publish_plugins.py @@ -1329,7 +1329,8 @@ DEFAULT_PUBLISH_VALUES = { "photoshop", "resolve", "tvpaint", - "substancepainter" + "substancepainter", + "katana" ], "skip_hosts_headless_publish": [] },