Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFavelier committed Dec 10, 2021
1 parent 2d4b4b7 commit 371b86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/gui/_coreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ def _redraw(self, verbose=None):
draw_map[key]()
self._redraws_pending.clear()
self._renderer._update()
self._renderer._process_events() # necessary for MacOS?

def _on_mouse_move(self, vtk_picker, event):
if self._mouse_no_mvt:
Expand Down Expand Up @@ -846,7 +847,6 @@ def callback(iteration, n_iterations):
self._current_icp_iterations = n_iterations
self._update_distance_estimation()
self._renderer._process_events() # allow a draw or cancel
self._renderer._process_events() # another for MacOS?

start = time.time()
self._coreg.fit_icp(
Expand Down

0 comments on commit 371b86a

Please sign in to comment.