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:
authorHarley Acheson <harley.acheson@gmail.com>2019-10-01 02:38:40 +0300
committerHarley Acheson <harley.acheson@gmail.com>2019-10-01 02:46:05 +0300
commit4101d3e4003a6745fec11cdc86ca0f721bd7cf7e (patch)
treecfc912fb7ce9020f4360bb64d354c2c663cb38b8 /source/blender/makesrna/intern/rna_wm_api.c
parent60a827a2a9917c142a66e932e9009948ea6b7b78 (diff)
UI: Changes to Paint Cursors
Changes to cursors that can be used for painting and sculpting. Differential Revision: https://developer.blender.org/D5951 Reviewed by Brecht Van Lommel
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index 1457f0e45e7..886258ee45f 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -41,7 +41,7 @@
#include "rna_internal.h" /* own include */
-/* confusingm 2 enums mixed up here */
+/* confusing 2 enums mixed up here */
const EnumPropertyItem rna_enum_window_cursor_items[] = {
{WM_CURSOR_DEFAULT, "DEFAULT", 0, "Default", ""},
{WM_CURSOR_NONE, "NONE", 0, "None", ""},
@@ -54,7 +54,8 @@ const EnumPropertyItem rna_enum_window_cursor_items[] = {
{WM_CURSOR_KNIFE, "KNIFE", 0, "Knife", ""},
{WM_CURSOR_TEXT_EDIT, "TEXT", 0, "Text", ""},
{WM_CURSOR_PAINT_BRUSH, "PAINT_BRUSH", 0, "Paint Brush", ""},
- {WM_CURSOR_CROSSA, "PAINT_CROSS", 0, "Paint Cross", ""},
+ {WM_CURSOR_PAINT, "PAINT_CROSS", 0, "Paint Cross", ""},
+ {WM_CURSOR_DOT, "DOT", 0, "Dot Cursor", ""},
{WM_CURSOR_ERASER, "ERASER", 0, "Eraser", ""},
{WM_CURSOR_HAND, "HAND", 0, "Hand", ""},
{WM_CURSOR_EW_SCROLL, "SCROLL_X", 0, "Scroll-X", ""},