Icons: update geometry icons

- Tweaked icons for Box Select, Circle Select & Lasso Select.
- Tweaked icons for Rip Region & Rip Edge.
- Added icons for Bone Envelope, Bone Size, Pose Breakdown,
  Pose Push & Pose Relax.
- Added icons for curve Extrude, Extrude Cursor.

Also removed grease pencil mirror tool which wasn't an active tool,
and is now consistent with regular Edit Mode.
This commit is contained in:
William Reynish 2018-10-21 16:04:58 +11:00 committed by Campbell Barton
parent 1f67db75f1
commit 96fef7db5a
17 changed files with 13 additions and 21 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -959,7 +959,7 @@ class _defs_edit_curve:
return dict(
text="Draw",
cursor='PAINT_BRUSH',
icon=None,
icon="ops.curve.draw",
widget=None,
keymap=(
("curve.draw", dict(wait_for_input=False), dict(type='ACTIONMOUSE', value='PRESS')),
@ -971,7 +971,7 @@ class _defs_edit_curve:
def extrude():
return dict(
text="Extrude",
icon=None,
icon="ops.curve.extrude_move",
widget=None,
keymap=(
("curve.extrude_move",
@ -984,7 +984,7 @@ class _defs_edit_curve:
def extrude_cursor():
return dict(
text="Extrude Cursor",
icon=None,
icon="ops.curve.extrude_cursor",
widget=None,
keymap=(
("curve.vertex_add", dict(), dict(type='ACTIONMOUSE', value='PRESS')),
@ -1467,19 +1467,6 @@ class _defs_gpencil_edit:
),
)
@ToolDef.from_fn
def mirror():
return dict(
text="Mirror",
icon="ops.gpencil.edit_mirror",
widget=None,
keymap=(
("transform.mirror",
dict(release_confirm=True),
dict(type='EVT_TWEAK_A', value='ANY')),
),
)
@ToolDef.from_fn
def shear():
return dict(
@ -1497,7 +1484,7 @@ class _defs_gpencil_edit:
def tosphere():
return dict(
text="To Sphere",
icon="ops.gpencil.edit_to_sphere",
icon="ops.transform.tosphere",
widget=None,
keymap=(
("transform.tosphere",
@ -2056,7 +2043,6 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
_defs_gpencil_edit.lasso_select,
None,
_defs_gpencil_edit.bend,
_defs_gpencil_edit.mirror,
_defs_gpencil_edit.shear,
_defs_gpencil_edit.tosphere,
],

View File

@ -663,10 +663,11 @@ set_property(GLOBAL PROPERTY ICON_GEOM_NAMES
brush.weight.subtract
none
ops.armature.bone.roll
ops.armature.extrude.cursor
ops.armature.extrude
ops.armature.extrude_cursor
ops.armature.extrude_move
ops.curve.draw
ops.curve.dupli_extrude_cursor
ops.curve.extrude_cursor
ops.curve.extrude_move
ops.generic.cursor
ops.generic.select_box
ops.generic.select_circle
@ -714,8 +715,13 @@ set_property(GLOBAL PROPERTY ICON_GEOM_NAMES
ops.paint.vertex_color_fill
ops.paint.weight_fill
ops.paint.weight_gradient
ops.pose.breakdowner
ops.pose.push
ops.pose.relax
ops.sculpt.border_hide
ops.sculpt.border_mask
ops.transform.bone_envelope
ops.transform.bone_size
ops.transform.edge_slide
ops.transform.push_pull
ops.transform.resize.cage