Skip to content

Commit

Permalink
Fix Convert to Marker - The timeline frame range is now used.
Browse files Browse the repository at this point in the history
Before the current frame range values were (incorrectly) ignored.
  • Loading branch information
david-cattermole committed Oct 27, 2023
1 parent 6ea04ab commit b6a0586
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/mmSolver/tools/convertmarker/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def main(
delete_static_anim_curves = value

# Frame range
time_utils.get_frame_range(
start_frame, end_frame = time_utils.get_frame_range(
frame_range_mode, start_frame=start_frame, end_frame=end_frame
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ def frameRangeModeIndexChanged(self, index):
frame_end = configmaya.get_scene_option(
const.CONFIG_FRAME_END_KEY, default=const.DEFAULT_FRAME_END
)
time_utils.get_frame_range(value, start_frame=frame_start, end_frame=frame_end)
frame_start, frame_end = time_utils.get_frame_range(
value, start_frame=frame_start, end_frame=frame_end
)
self.frameRangeStartSpinBox.setValue(frame_start)
self.frameRangeEndSpinBox.setValue(frame_end)

Expand Down

0 comments on commit b6a0586

Please sign in to comment.