Skip to content

Commit

Permalink
Trigger rerender after masks set to panel buffer
Browse files Browse the repository at this point in the history
This is especially important for the polar view. The panel buffer is
applied before warping, so masks being set to the polar view will
change the appearance of the polar view.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
  • Loading branch information
psavery committed Apr 29, 2024
1 parent a901601 commit d5f6d9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hexrdgui/masking/mask_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ def masks_to_panel_buffer(self, selection):
mask = ~np.logical_or(~mask, ~buffer_value)
buffer['value'] = mask

HexrdConfig().rerender_needed.emit()

def clear_all(self):
self.masks.clear()

Expand Down

0 comments on commit d5f6d9e

Please sign in to comment.