code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / transform / transform_generics.c
index ca49147084d3a7788a2a329322745dec2204078c..2a3b0bc872643fc5d418ce1351846cfc35682ac8 100644 (file)
@@ -1012,7 +1012,7 @@ void resetTransRestrictions(TransInfo *t)
 }
 
 /* the *op can be NULL */
-int initTransInfo(bContext *C, TransInfo *t, wmOperator *op, wmEvent *event)
+int initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *event)
 {
        Scene *sce = CTX_data_scene(C);
        ToolSettings *ts = CTX_data_tool_settings(C);