|
|
@ -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): |
|
|
|