diff options
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_ruler.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_ruler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_ruler.c b/source/blender/editors/space_view3d/view3d_ruler.c index e263d0347bc..81d0b2d5fc9 100644 --- a/source/blender/editors/space_view3d/view3d_ruler.c +++ b/source/blender/editors/space_view3d/view3d_ruler.c @@ -691,7 +691,7 @@ static void view3d_ruler_header_update(ScrArea *sa) /* -------------------------------------------------------------------- */ /* Operator callbacks */ -static int view3d_ruler_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event)) +static int view3d_ruler_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { wmWindow *win = CTX_wm_window(C); ScrArea *sa = CTX_wm_area(C); @@ -729,7 +729,7 @@ static int view3d_ruler_cancel(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; } -static int view3d_ruler_modal(bContext *C, wmOperator *op, wmEvent *event) +static int view3d_ruler_modal(bContext *C, wmOperator *op, const wmEvent *event) { bool do_draw = false; int exit_code = OPERATOR_RUNNING_MODAL; |