Skip to content

Commit

Permalink
Merge pull request #1 from ynput/chore/remove_deprecated_imageioconfig
Browse files Browse the repository at this point in the history
Remove deprecated ImageIOConfigModel and `ocio_config` settings
  • Loading branch information
jakubjezek001 authored Jul 22, 2024
2 parents 413fbe8 + 31d1ea9 commit 4399420
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions server/settings/imageio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4399420

Please sign in to comment.