[Bf-blender-cvs] [e03a04dec7e] greasepencil-object: WIP: Set Paint toolbar
Antonio Vazquez
noreply at git.blender.org
Tue Jul 10 19:25:11 CEST 2018
Commit: e03a04dec7e3cc45ab82ab505305defc54059e0d
Author: Antonio Vazquez
Date: Tue Jul 10 19:25:03 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBe03a04dec7e3cc45ab82ab505305defc54059e0d
WIP: Set Paint toolbar
Still the bushes are inside same category
===================================================================
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 01d230e5d29..1b5e6fb6eef 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -55,6 +55,7 @@ def generate_from_brushes_ex(
)
)
+
def generate_from_brushes_gpencil(
context, *,
icon_prefix,
@@ -76,7 +77,6 @@ def generate_from_brushes_gpencil(
data_block=name,
widget=None,
operator="gpencil.draw",
- keymap='EVT_TWEAK_A',
)
)
)
@@ -986,8 +986,16 @@ class _defs_gpencil_paint:
brush_test_attr="use_paint_grease_pencil",
brush_category_attr="grease_pencil_tool",
brush_category_layout=(
- ('DRAW PEN',),
- ('DRAW INK',),
+ ('Draw Pencil',),
+ ('Draw Pen',),
+ ('Draw Ink',),
+ ('Draw Noise',),
+ ('Draw Block',),
+ ('Draw Marker',),
+ ('Fill Area',),
+ ('Eraser Soft',),
+ ('Eraser Hard',),
+ ('Eraser Stroke',),
)
)
More information about the Bf-blender-cvs
mailing list