GP: Add weights while drawing strokes
authorAntonioya <blendergit@gmail.com>
Thu, 30 Aug 2018 09:11:10 +0000 (11:11 +0200)
committerAntonioya <blendergit@gmail.com>
Thu, 30 Aug 2018 09:11:47 +0000 (11:11 +0200)
commitf2d8241b23bdf118336b94d54146bac41b791580
treebfd23494a303117c9b3d29f37932f0829e88b7c3
parent0845b1c8c8da818607fcff0a1bdb2114a0cb9729
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.
release/scripts/startup/bl_ui/space_topbar.py
source/blender/editors/gpencil/gpencil_fill.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/gpencil/gpencil_primitive.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c