Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / animation / anim_markers.c
index e563d3f8cf0be14de14b3135a7e83096b56998dd..dfe7edde3371c40ecd7a62800fe22416d31e7d80 100644 (file)
@@ -913,7 +913,7 @@ static int ed_marker_move_modal(bContext *C, wmOperator *op, const wmEvent *even
                        case PADENTER:
                        case LEFTMOUSE:
                        case MIDDLEMOUSE:
-                               if (WM_modal_tweak_exit(event, mm->event_type)) {
+                               if (WM_event_is_modal_tweak_exit(event, mm->event_type)) {
                                        ed_marker_move_exit(C, op);
                                        WM_event_add_notifier(C, NC_SCENE | ND_MARKERS, NULL);
                                        WM_event_add_notifier(C, NC_ANIMATION | ND_MARKERS, NULL);