mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
repharse the actual msg for the artists
This commit is contained in:
parent
2c61caae18
commit
9d3e15378b
1 changed files with 4 additions and 4 deletions
|
|
@ -29,15 +29,15 @@ class ValidateResolutionSetting(pyblish.api.InstancePlugin,
|
|||
current_width = rt.renderwidth
|
||||
current_height = rt.renderHeight
|
||||
if current_width != width and current_height != height:
|
||||
raise PublishValidationError("Resolution Setting"
|
||||
" not aligned with DB")
|
||||
raise PublishValidationError("Resolution Setting "
|
||||
"not matching resolution set on asset or shot.")
|
||||
if current_width != width:
|
||||
raise PublishValidationError("Width in Resolution Setting "
|
||||
"not aligned with DB")
|
||||
"not matching resolution set on asset or shot.")
|
||||
|
||||
if current_height != height:
|
||||
raise PublishValidationError("Height in Resolution Setting "
|
||||
"not aligned with DB")
|
||||
"not matching resolution set on asset or shot.")
|
||||
|
||||
def get_db_resolution(self, instance):
|
||||
data = ["data.resolutionWidth", "data.resolutionHeight"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue