diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-30 12:11:10 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-30 12:11:47 +0300 |
commit | f2d8241b23bdf118336b94d54146bac41b791580 (patch) | |
tree | bfd23494a303117c9b3d29f37932f0829e88b7c3 /release/scripts/startup/bl_ui/space_topbar.py | |
parent | 0845b1c8c8da818607fcff0a1bdb2114a0cb9729 (diff) |
GP: Add weights while drawing strokes
Now it's possible to add the weight of the current selected vertex group to any new stroke created.
This is very handy when add drawings after the weight paint was done and it will be required with Armatures.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 3395889cf82..ea120a0e1fb 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -179,6 +179,7 @@ class TOPBAR_HT_lower_bar(Header): if context.tool_settings.gpencil_stroke_placement_view3d in ('ORIGIN', 'CURSOR'): layout.prop(context.tool_settings.gpencil_sculpt, "lockaxis", text='') layout.prop(context.tool_settings, "use_gpencil_draw_onback", text="", icon='ORTHO') + layout.prop(context.tool_settings, "add_gpencil_weight_data", text="", icon='WPAINT_HLT') layout.prop(context.tool_settings, "use_gpencil_additive_drawing", text="", icon='FREEZE') elif mode == 'GPENCIL_SCULPT': |