-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Max: Using task attributes for validate frame range and validate resolution setting #342
Max: Using task attributes for validate frame range and validate resolution setting #342
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has been tested in max 2024
and works ok for render
instance
validates well against frame range set in the database for current folder
and also for Resolution
My only concern is when using Review
instance it does not validate against resolution and just ignores it...it seems that for this instance type we do not validate for resolution...I think we should include an optional settings for that too (as on render
instance type)
…for_context_setting_related_validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Resolution Validator does work for Render
instance but not for Review
instance.
Also the Repair
action only fixes the Render Settings aka Render Resolution but not changing the Review
instance resolution.
When fixed the Render
instance resolution it Validates OK even if the Review
instance still having wrong set resolution.
not sure if related but here is copy paste from Max listener aka console:
File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2402141620_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
runner(*args)
File "C:\Work\REPO\ayon-core\client\ayon_core\hosts\max\plugins\publish\validate_resolution_setting.py", line 31, in process
raise PublishValidationError("Resolution Setting "
ayon_core.pipeline.publish.publish_plugins.PublishValidationError: Resolution Setting not matching resolution set on asset or shot.
>>> [ *** Discovered 1 abstract plugins
Now Review
having Validate Resolution
which is fine and desired...
…for_context_setting_related_validators
I have separated validator for resolution setting in terms of render and review product type, as they dont get resolution data for exporting the sequences in a similar method. Can you test it again? @LiborBatek thanks! |
@moonyuet please update with latest develop. @LiborBatek please test again. |
…for_context_setting_related_validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did new test round and found that
Validate Frame Range
works and also Repair
action too
but for Validate Resolution
besides validation itself which works ok, the Repair
action can fix global render settings namely for Render
instance types but when using this validator on Review
instance then the repair fails on instance.
and after triggered Repair
action resolution still the same / invalid on the publish Review
Instance...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now all Validator
s for resolution and frame ranges working with Repair
actions for both Render
and Review
instances. All good
Only minor thing, there is unneccessarily long name for validator of the review resolution as seen on scrngrab here
Should be imho just Validate Resolution
or Validate Review Resolution
.
Other than that good and can be merged then...
…tting in the review family
Just for context:
|
Changelog Description
Align to use the data from task entity in regard to other hosts
Additional info
n/a
Testing notes: