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
path: root/source
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2019-10-24 19:17:55 +0300
committerHarley Acheson <harley.acheson@gmail.com>2019-10-24 19:17:55 +0300
commite50b4d7de4367a00cbd6b5ec1590852973c7b187 (patch)
tree2ee2ef39f812789f5db30611ac56e28c114f15fc /source
parent0c66039cfdfd0376ce04b7522af9702284a199f0 (diff)
UI: Incorrect Cursor Used in Split Area Operator
Incorrect cursor shown for horizontal split when selected from edge context menu. Differential Revision: https://developer.blender.org/D6124 Reviewed by Campbell Barton
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/screen_ops.c2
m---------source/tools0
2 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index cc1f53eabde..c5e7d578e71 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -2119,7 +2119,7 @@ static void area_split_preview_update_cursor(bContext *C, wmOperator *op)
{
wmWindow *win = CTX_wm_window(C);
int dir = RNA_enum_get(op->ptr, "direction");
- WM_cursor_set(win, (dir == 'n' || dir == 's') ? WM_CURSOR_H_SPLIT : WM_CURSOR_V_SPLIT);
+ WM_cursor_set(win, dir == 'h' ? WM_CURSOR_H_SPLIT : WM_CURSOR_V_SPLIT);
}
/* UI callback, adds new handler */
diff --git a/source/tools b/source/tools
-Subproject 8598818108ddaf35e30d2a2dbd408ad371e41eb
+Subproject ce943dad8a21b4784e2dcef12d8f893473cddb7