aws-deadline / deadline-cloud-for-cinema-4d

AWS Deadline Cloud for Cinema 4D
Apache License 2.0
8 stars 9 forks source link

Bug: Submitter doesn't allow overriding the frame range #52

Closed yuanmich2 closed 4 months ago

yuanmich2 commented 4 months ago

Expected Behaviour

I should be able to set a custom frame range when I open the submitter to submit a render.

Current Behaviour

image The field for overriding the frame range is grayed out and checking and unchecking the box next to it doesn't have any effect. If you check the box and then close and reopen the submitter, however, the field will be editable.

Reproduction Steps

Install the submitter. Open the submitter and try to submit a job with a custom frame range. If the checkbox was already checked by default, uncheck it, and close the submitter. Then reopen the submitter and try to add a custom frame range.

Code Snippet

n/a

lucaseck commented 4 months ago

Should be fixed once #54 is merged. Assuming that Pyside6 is being used the issue is there was a change from Pyside2->Pyside6 for how enums are handled and we now need to convert explicitly to an enum to do the comparison: https://doc.qt.io/qtforpython-6/considerations.html#the-new-python-enums