diff options
author | William Reynish <billrey@me.com> | 2019-09-30 14:33:54 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-09-30 14:33:54 +0300 |
commit | 04ef62177fb6483dd1424486b8d7ddf994f62204 (patch) | |
tree | 15f529296f06c83aaf3dde2f25a80b63aaa629e4 /release | |
parent | 56854bd177a2bc276d84969edfb5ec0f2220be23 (diff) |
UI: Use paint crosshair cursor in all paint & sculpt modes
Currently, we use the crosshair cursor in Sculpt mode, but not in the other paint modes.
- Sculpt Mode: This crosshair cursor is too weighty.
- Texture, Weight, Vertex Paint: Using the arrow cursor for painting is not right.
This commit makes the following changes:
- Use the new special paint crosshair instead
- Use this cursor in all paint modes, not just Sculpt
Reviewed by: Brecht
Differential Revision: https://developer.blender.org/D5940
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 5a48a509f15..aa5be13c01b 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -48,6 +48,7 @@ def generate_from_enum_ex( icon_prefix, type, attr, + cursor='DEFAULT', tooldef_keywords={}, ): tool_defs = [] @@ -60,6 +61,7 @@ def generate_from_enum_ex( idname=idname_prefix + name, label=name, icon=icon_prefix + idname.lower(), + cursor=cursor, data_block=idname, **tooldef_keywords, ) @@ -1318,6 +1320,7 @@ class _defs_gpencil_paint: icon_prefix="brush.gpencil_draw.", type=bpy.types.Brush, attr="gpencil_tool", + cursor='PAINT_CROSS', tooldef_keywords=dict( operator="gpencil.draw", ), |