Bugfix/frame variable fix (#4978)

* Fix variable name on Max reset frame range

* Fix variable name on Maya collect animation

* Fix variable name on Nuke reset frame range

* Fix lines over max width

* Fix error on variable rename

* Fix line over max width

---------

Co-authored-by: jbeaulieu <jbeaulieu@alkemy-x.com>
This commit is contained in:
Zipodod 2023-05-17 08:14:26 -04:00 committed by GitHub
parent c85ebbfac2
commit 6b09504ead
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 12 deletions

View file

@ -2239,13 +2239,13 @@ class WorkfileSettings(object):
handle_end = data["handleEnd"]
fps = float(data["fps"])
frame_start = int(data["frameStart"]) - handle_start
frame_end = int(data["frameEnd"]) + handle_end
frame_start_handle = int(data["frameStart"]) - handle_start
frame_end_handle = int(data["frameEnd"]) + handle_end
self._root_node["lock_range"].setValue(False)
self._root_node["fps"].setValue(fps)
self._root_node["first_frame"].setValue(frame_start)
self._root_node["last_frame"].setValue(frame_end)
self._root_node["first_frame"].setValue(frame_start_handle)
self._root_node["last_frame"].setValue(frame_end_handle)
self._root_node["lock_range"].setValue(True)
# setting active viewers