Browse Source

Update point list on completing move with ESC

tb-init-ui-render
Taylor Bockman 5 years ago
parent
commit
0c6b7b74cd
  1. 2
      clusterview/mode_handlers.py

2
clusterview/mode_handlers.py

@ -143,6 +143,7 @@ def ogl_keypress_handler(ctx, event):
__left_click_flag = __ClickFlag.NONE __left_click_flag = __ClickFlag.NONE
PointManager.point_set.clear_selection() PointManager.point_set.clear_selection()
reset_move_bbs() reset_move_bbs()
refresh_point_list(ctx)
elif ctx.mode in [Mode.ADD, Mode.EDIT, Mode.DELETE, Mode.OFF]: elif ctx.mode in [Mode.ADD, Mode.EDIT, Mode.DELETE, Mode.OFF]:
# Just clear selections # Just clear selections
@ -231,7 +232,6 @@ def __handle_move_points(ctx, event):
# Satisfy the post condition by resetting the bounding box # Satisfy the post condition by resetting the bounding box
reset_move_bbs() reset_move_bbs()
ctx.point_list_widget.update()
ctx.opengl_widget.update() ctx.opengl_widget.update()
def __handle_delete_point(ctx, event): def __handle_delete_point(ctx, event):

Loading…
Cancel
Save