Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Oct 20, 2020
2 parents 440253c + 68d5544 commit a352e5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/mmSolver/tools/solver/widget/rootframe_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ def autoClicked(self):
min_frames_per_marker = 2
frame_nums = mmapi.get_root_frames_from_markers(
mkr_list, min_frames_per_marker, start_frame, end_frame)
if len(frame_nums) < 2:
LOG.warn('Auto Root Frames failed to calculate - not enough markers.')
return
roots_string = convert_types.intListToString(frame_nums)
self.setRootFramesValue(col, roots_string)
self.rootFrames_lineEdit.setText(roots_string)
Expand Down

0 comments on commit a352e5a

Please sign in to comment.