Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-09-07 02:34:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-07 02:34:29 +0400
commit35cd649c6625b55aad277fdbeaa87cc5d21b65ce (patch)
treedc5a73685f89ea525b40e62534d8af4e9de7fa4b /source/blender/editors/armature/pose_slide.c
parentda2c76d9f7e1a29ad91ab8aaf95bb912800296a4 (diff)
rename cursor setting functions to make modal set/restore more clearly related functions.
Diffstat (limited to 'source/blender/editors/armature/pose_slide.c')
-rw-r--r--source/blender/editors/armature/pose_slide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index ec1662c7fa6..d0e1b15064a 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -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);