rename cursor setting functions to make modal set/restore more clearly related functions.
[blender-staging.git] / source / blender / editors / armature / pose_slide.c
index ec1662c7fa6a3afa5574b187e87c3114a3fa2bec..d0e1b15064a17ec1f95d50710fef622c5444ec84 100644 (file)
@@ -602,7 +602,7 @@ static int pose_slide_invoke_common(bContext *C, wmOperator *op, tPoseSlideOp *p
        pose_slide_refresh(C, pso);
        
        /* set cursor to indicate modal */
-       WM_cursor_modal(win, BC_EW_SCROLLCURSOR);
+       WM_cursor_modal_set(win, BC_EW_SCROLLCURSOR);
        
        /* header print */
        pose_slide_draw_status(pso);
@@ -624,7 +624,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event)
                {
                        /* return to normal cursor and header status */
                        ED_area_headerprint(pso->sa, NULL);
-                       WM_cursor_restore(win);
+                       WM_cursor_modal_restore(win);
                        
                        /* insert keyframes as required... */
                        pose_slide_autoKeyframe(C, pso);
@@ -639,7 +639,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event)
                {
                        /* return to normal cursor and header status */
                        ED_area_headerprint(pso->sa, NULL);
-                       WM_cursor_restore(win);
+                       WM_cursor_modal_restore(win);
                        
                        /* reset transforms back to original state */
                        pose_slide_reset(pso);