UI: Use crosshair cursor for Extrude to Cursor tools
Since this tool doesn't perform selections when you click, it's important that the cursor helps communicate that something else will happen. Also fix missing 'to' in Curve Edit Mode.
This commit is contained in:
@@ -456,6 +456,7 @@ class _defs_edit_armature:
|
|||||||
return dict(
|
return dict(
|
||||||
idname="builtin.extrude_to_cursor",
|
idname="builtin.extrude_to_cursor",
|
||||||
label="Extrude to Cursor",
|
label="Extrude to Cursor",
|
||||||
|
cursor='CROSSHAIR',
|
||||||
icon="ops.armature.extrude_cursor",
|
icon="ops.armature.extrude_cursor",
|
||||||
widget=None,
|
widget=None,
|
||||||
keymap=(),
|
keymap=(),
|
||||||
@@ -710,6 +711,7 @@ class _defs_edit_mesh:
|
|||||||
return dict(
|
return dict(
|
||||||
idname="builtin.extrude_to_cursor",
|
idname="builtin.extrude_to_cursor",
|
||||||
label="Extrude to Cursor",
|
label="Extrude to Cursor",
|
||||||
|
cursor='CROSSHAIR',
|
||||||
icon="ops.mesh.dupli_extrude_cursor",
|
icon="ops.mesh.dupli_extrude_cursor",
|
||||||
widget=None,
|
widget=None,
|
||||||
keymap=(),
|
keymap=(),
|
||||||
@@ -892,7 +894,8 @@ class _defs_edit_curve:
|
|||||||
def extrude_cursor():
|
def extrude_cursor():
|
||||||
return dict(
|
return dict(
|
||||||
idname="builtin.extrude_cursor",
|
idname="builtin.extrude_cursor",
|
||||||
label="Extrude Cursor",
|
label="Extrude to Cursor",
|
||||||
|
cursor='CROSSHAIR',
|
||||||
icon="ops.curve.extrude_cursor",
|
icon="ops.curve.extrude_cursor",
|
||||||
widget=None,
|
widget=None,
|
||||||
keymap=(),
|
keymap=(),
|
||||||
|
|||||||
Reference in New Issue
Block a user