[Bf-blender-cvs] [b6a2dbbec20] blender2.8: Tool System: set cursors for draw & transform
Campbell Barton
noreply at git.blender.org
Fri May 18 12:01:55 CEST 2018
Commit: b6a2dbbec20dca1010596aeb321b8295876d37ed
Author: Campbell Barton
Date: Fri May 18 11:57:40 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb6a2dbbec20dca1010596aeb321b8295876d37ed
Tool System: set cursors for draw & transform
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 4a368bd712d..137ca779065 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -109,6 +109,7 @@ class _defs_transform:
def translate():
return dict(
text="Move",
+ cursor='SCROLL_XY',
icon="ops.transform.translate",
widget="TRANSFORM_WGT_manipulator",
keymap=(
@@ -120,6 +121,7 @@ class _defs_transform:
def rotate():
return dict(
text="Rotate",
+ cursor='SCROLL_XY',
icon="ops.transform.rotate",
widget="TRANSFORM_WGT_manipulator",
keymap=(
@@ -131,6 +133,7 @@ class _defs_transform:
def scale():
return dict(
text="Scale",
+ cursor='SCROLL_XY',
icon="ops.transform.resize",
widget="TRANSFORM_WGT_manipulator",
keymap=(
@@ -590,6 +593,7 @@ class _defs_edit_curve:
return dict(
text="Draw",
+ cursor='PAINT_BRUSH',
icon=None,
widget=None,
keymap=(
More information about the Bf-blender-cvs
mailing list