mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix optional support
This commit is contained in:
parent
5eddd0f601
commit
7b62a204a3
1 changed files with 3 additions and 0 deletions
|
|
@ -70,6 +70,9 @@ class ValidateSaverResolution(
|
|||
actions = [SelectInvalidAction]
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
return
|
||||
|
||||
resolution = self.get_resolution(instance)
|
||||
expected_resolution = self.get_expected_resolution(instance)
|
||||
if resolution != expected_resolution:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue