Tools: Add Radius tool to Grease Pencil toolbar
Icon pending.
This commit is contained in:
@@ -1253,6 +1253,19 @@ class _defs_gpencil_edit:
|
||||
draw_settings=draw_settings,
|
||||
)
|
||||
|
||||
@ToolDef.from_fn
|
||||
def radius():
|
||||
return dict(
|
||||
text="Radius",
|
||||
description=(
|
||||
"Expand or contract the radius of the selected points"
|
||||
),
|
||||
icon="ops.gpencil.radius",
|
||||
|
||||
widget=None,
|
||||
keymap=(),
|
||||
)
|
||||
|
||||
@ToolDef.from_fn
|
||||
def shear():
|
||||
return dict(
|
||||
@@ -1750,9 +1763,12 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
|
||||
*_tools_transform,
|
||||
None,
|
||||
_defs_gpencil_edit.extrude,
|
||||
_defs_gpencil_edit.radius,
|
||||
_defs_gpencil_edit.bend,
|
||||
_defs_gpencil_edit.shear,
|
||||
_defs_gpencil_edit.tosphere,
|
||||
(
|
||||
_defs_gpencil_edit.shear,
|
||||
_defs_gpencil_edit.tosphere,
|
||||
),
|
||||
|
||||
],
|
||||
'SCULPT_GPENCIL': [
|
||||
|
Reference in New Issue
Block a user