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/space_node/node_edit.c
parentda2c76d9f7e1a29ad91ab8aaf95bb912800296a4 (diff)
rename cursor setting functions to make modal set/restore more clearly related functions.
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
-rw-r--r--source/blender/editors/space_node/node_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 3ba749a8eff..ff6a8e884a6 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -854,14 +854,14 @@ static void node_resize_init(bContext *C, wmOperator *op, const wmEvent *UNUSED(
nsw->oldminiwidth = node->miniwidth;
nsw->directions = dir;
- WM_cursor_modal(CTX_wm_window(C), node_get_resize_cursor(dir));
+ WM_cursor_modal_set(CTX_wm_window(C), node_get_resize_cursor(dir));
/* add modal handler */
WM_event_add_modal_handler(C, op);
}
static void node_resize_exit(bContext *C, wmOperator *op, int UNUSED(cancel))
{
- WM_cursor_restore(CTX_wm_window(C));
+ WM_cursor_modal_restore(CTX_wm_window(C));
MEM_freeN(op->customdata);
op->customdata = NULL;