[Bf-blender-cvs] [2c19f296ce8] greasepencil-object: Fix: Icons for annotation tools now show in toolbar
Joshua Leung
noreply at git.blender.org
Thu Jul 5 17:55:40 CEST 2018
Commit: 2c19f296ce8b1cd97a852bf0b9e69c877a868594
Author: Joshua Leung
Date: Fri Jul 6 03:54:07 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB2c19f296ce8b1cd97a852bf0b9e69c877a868594
Fix: Icons for annotation tools now show in toolbar
===================================================================
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 820a0419a86..90c676feff3 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -136,7 +136,7 @@ class _defs_annotate:
pass
return dict(
- text="Annotate (Scribble)",
+ text="Annotate",
icon="ops.gpencil.draw",
keymap=(
("gpencil.annotate",
@@ -154,7 +154,7 @@ class _defs_annotate:
return dict(
text="Draw Line",
- icon="ops.gpencil.drawline",
+ icon="ops.gpencil.draw.line",
keymap=(
("gpencil.annotate",
dict(mode='DRAW_STRAIGHT', wait_for_input=False),
@@ -170,7 +170,7 @@ class _defs_annotate:
return dict(
text="Draw Polygon",
- icon="ops.gpencil.drawpoly",
+ icon="ops.gpencil.draw.poly",
keymap=(
("gpencil.annotate",
dict(mode='DRAW_POLY', wait_for_input=False),
@@ -186,7 +186,7 @@ class _defs_annotate:
return dict(
text="Eraser",
- icon="ops.gpencil.draweraser",
+ icon="ops.gpencil.draw.eraser",
#cursor='...', # XXX: Always show brush circle when enabled
keymap=(
("gpencil.annotate",
More information about the Bf-blender-cvs
mailing list