From 31d1ea91ab7a1470d249a37e8c973eb12e4b0aef Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 22 Jul 2024 00:26:50 +0200 Subject: [PATCH] Remove deprecated ImageIOConfigModel and `ocio_config` settings --- server/settings/imageio.py | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/server/settings/imageio.py b/server/settings/imageio.py index abd058e..ed4eafa 100644 --- a/server/settings/imageio.py +++ b/server/settings/imageio.py @@ -39,32 +39,6 @@ class ImageIORemappingModel(BaseSettingsModel): ) -class ImageIOConfigModel(BaseSettingsModel): - """[DEPRECATED] Addon OCIO config settings. Please set the OCIO config - path in the Core addon profiles here - (ayon+settings://core/imageio/ocio_config_profiles). - """ - - override_global_config: bool = SettingsField( - False, - title="Override global OCIO config", - description=( - "DEPRECATED functionality. Please set the OCIO config path in the " - "Core addon profiles here (ayon+settings://core/imageio/" - "ocio_config_profiles)." - ), - ) - filepath: list[str] = SettingsField( - default_factory=list, - title="Config path", - description=( - "DEPRECATED functionality. Please set the OCIO config path in the " - "Core addon profiles here (ayon+settings://core/imageio/" - "ocio_config_profiles)." - ), - ) - - class ProfileNamesMappingInputsModel(BaseSettingsModel): _layout = "expanded" @@ -106,10 +80,6 @@ class FlameImageIOModel(BaseSettingsModel): title="Remapping colorspace names", default_factory=ImageIORemappingModel ) - ocio_config: ImageIOConfigModel = SettingsField( - default_factory=ImageIOConfigModel, - title="OCIO config" - ) file_rules: ImageIOFileRulesModel = SettingsField( default_factory=ImageIOFileRulesModel, title="File Rules"