mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Refactors explicit resolution collection
Changes the collector order to ensure correct execution. Renames the "Override Resolution" label to "Force product resolution" for clarity. Removes default resolution values from server settings. The explicit resolution is intended to be defined on the instance level, not as a global default.
This commit is contained in:
parent
93b59710b2
commit
753960ca9a
2 changed files with 3 additions and 9 deletions
|
|
@ -11,7 +11,7 @@ class CollectExplicitResolution(
|
|||
"""Collect explicit user defined resolution attributes for instances"""
|
||||
|
||||
label = "Choose Explicit Resolution"
|
||||
order = pyblish.api.CollectorOrder + 0.49
|
||||
order = pyblish.api.CollectorOrder - 0.091
|
||||
settings_category = "core"
|
||||
|
||||
enabled = False
|
||||
|
|
@ -99,6 +99,6 @@ class CollectExplicitResolution(
|
|||
"explicit_resolution",
|
||||
items,
|
||||
default="Don't override",
|
||||
label="Override Resolution",
|
||||
label="Force product resolution",
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1244,13 +1244,7 @@ DEFAULT_PUBLISH_VALUES = {
|
|||
"product_types": [
|
||||
"shot"
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"width": 2048,
|
||||
"height": 1080,
|
||||
"aspect_ratio": 1.5,
|
||||
}
|
||||
]
|
||||
"options": []
|
||||
},
|
||||
"ValidateEditorialAssetName": {
|
||||
"enabled": True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue