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

@ -316,11 +316,13 @@ def collect_animation_data(fps=False):
# get scene values as defaults
frame_start = cmds.playbackOptions(query=True, minTime=True)
frame_end = cmds.playbackOptions(query=True, maxTime=True)
handle_start = cmds.playbackOptions(query=True, animationStartTime=True)
handle_end = cmds.playbackOptions(query=True, animationEndTime=True)
frame_start_handle = cmds.playbackOptions(
query=True, animationStartTime=True
)
frame_end_handle = cmds.playbackOptions(query=True, animationEndTime=True)
handle_start = frame_start - handle_start
handle_end = handle_end - frame_end
handle_start = frame_start - frame_start_handle
handle_end = frame_end_handle - frame_end
# build attributes
data = OrderedDict()