mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update fallback type field names in colorspace and settings modules
The commit updates the field name from "type" to "fallback_type" for consistency in the colorspace and settings modules.
This commit is contained in:
parent
6085b6bd82
commit
07ea80d2d7
2 changed files with 3 additions and 3 deletions
|
|
@ -806,7 +806,7 @@ def _get_global_config_data(
|
|||
|
||||
log.info("Using fallback data for ocio config path.")
|
||||
# in case no product was found we need to use fallback
|
||||
fallback_type = fallback_data["type"]
|
||||
fallback_type = fallback_data["fallback_type"]
|
||||
return _get_config_path_from_profile_data(
|
||||
fallback_data, fallback_type, template_data
|
||||
)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ def _ocio_built_in_paths():
|
|||
|
||||
class FallbackProductModel(BaseSettingsModel):
|
||||
_layout = "expanded"
|
||||
type: str = SettingsField(
|
||||
fallback_type: str = SettingsField(
|
||||
title="Fallback config type",
|
||||
enum_resolver=_fallback_ocio_config_profile_types,
|
||||
conditionalEnum=True,
|
||||
|
|
@ -347,7 +347,7 @@ DEFAULT_VALUES = {
|
|||
"published_product": {
|
||||
"product_name": "",
|
||||
"fallback": {
|
||||
"type": "builtin_path",
|
||||
"fallback_type": "builtin_path",
|
||||
"builtin_path": "ACES 1.2",
|
||||
"custom_path": ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue