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>2019-05-28 18:03:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-28 18:05:22 +0300
commit916c2d0e7f31c71082fdadbe35d809c0802b4063 (patch)
tree7abda5f23441caefe8ba75f7d752d471970f317d /source/blender/windowmanager/intern/wm_operator_type.c
parente4ac8ab212769b569334d0cd15d4bf04f42cbc89 (diff)
Cleanup: use WM_ prefix for cursor enum
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operator_type.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operator_type.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_type.c b/source/blender/windowmanager/intern/wm_operator_type.c
index 7ae28f3f448..69f09162c74 100644
--- a/source/blender/windowmanager/intern/wm_operator_type.c
+++ b/source/blender/windowmanager/intern/wm_operator_type.c
@@ -430,17 +430,17 @@ static int wm_macro_modal(bContext *C, wmOperator *op, const wmEvent *event)
* */
if (op->opm->type->flag & OPTYPE_BLOCKING) {
int bounds[4] = {-1, -1, -1, -1};
- int wrap = CURSOR_WRAP_NONE;
+ int wrap = WM_CURSOR_WRAP_NONE;
if ((op->opm->flag & OP_IS_MODAL_GRAB_CURSOR) ||
(op->opm->type->flag & OPTYPE_GRAB_CURSOR_XY)) {
- wrap = CURSOR_WRAP_XY;
+ wrap = WM_CURSOR_WRAP_XY;
}
else if (op->opm->type->flag & OPTYPE_GRAB_CURSOR_X) {
- wrap = CURSOR_WRAP_X;
+ wrap = WM_CURSOR_WRAP_X;
}
else if (op->opm->type->flag & OPTYPE_GRAB_CURSOR_Y) {
- wrap = CURSOR_WRAP_Y;
+ wrap = WM_CURSOR_WRAP_Y;
}
if (wrap) {