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>2020-01-24 23:17:57 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-01-24 23:17:57 +0300
commit4aa703aa1430bc53f19e2cc7182e70db1a916f13 (patch)
tree9fbcf84fc9c0ba5649a00d24bc27caba18c8a358 /release
parent79d9874028ffb91cf90fd547356e58341c843a96 (diff)
UI: View3D Cursor Changes
Changes the default View3D mouse cursor to the OS-supplied arrow pointer. Subsequent cursor changes will now be set per-tool instead. Differential Revision: https://developer.blender.org/D6485 Reviewed by Campbell Barton
Diffstat (limited to 'release')
m---------release/scripts/addons0
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py3
2 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 1e165b809b66fbf19778dbb6f1a3f4e64efef03
+Subproject 71ac0b888beb3f057915446e3e7c92c44f1c4ee
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index c03d681f2b2..8429d30aeec 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -134,6 +134,7 @@ class _defs_view3d_generic:
idname="builtin.measure",
label="Measure",
description=description,
+ cursor='CROSSHAIR',
icon="ops.view3d.ruler",
widget="VIEW3D_GGT_ruler",
keymap="3D View Tool: Measure",
@@ -361,6 +362,7 @@ class _defs_view3d_select:
label="Select Lasso",
icon="ops.generic.select_lasso",
widget=None,
+ cursor='DEFAULT',
keymap="3D View Tool: Select Lasso",
draw_settings=draw_settings,
)
@@ -385,6 +387,7 @@ class _defs_view3d_select:
label="Select Circle",
icon="ops.generic.select_circle",
widget=None,
+ cursor='DEFAULT',
keymap="3D View Tool: Select Circle",
draw_settings=draw_settings,
draw_cursor=draw_cursor,