diff options
Diffstat (limited to 'source/blender/editors/space_clip/clip_ops.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index c6033ec6ca0..0f978b38e60 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -484,11 +484,11 @@ static int view_pan_modal(bContext *C, wmOperator *op, const wmEvent *event) RNA_float_set_array(op->ptr, "offset", offset); view_pan_exec(C, op); break; - case ESCKEY: + case EVT_ESCKEY: view_pan_exit(C, op, 1); return OPERATOR_CANCELLED; - case SPACEKEY: + case EVT_SPACEKEY: view_pan_exit(C, op, 0); return OPERATOR_FINISHED; @@ -1136,7 +1136,7 @@ static int change_frame_invoke(bContext *C, wmOperator *op, const wmEvent *event static int change_frame_modal(bContext *C, wmOperator *op, const wmEvent *event) { switch (event->type) { - case ESCKEY: + case EVT_ESCKEY: return OPERATOR_FINISHED; case MOUSEMOVE: @@ -1702,7 +1702,7 @@ static int clip_prefetch_modal(bContext *C, wmOperator *UNUSED(op), const wmEven /* running render */ switch (event->type) { - case ESCKEY: + case EVT_ESCKEY: return OPERATOR_RUNNING_MODAL; } |