Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-08-30 12:11:10 +0300
committerAntonioya <blendergit@gmail.com>2018-08-30 12:11:47 +0300
commitf2d8241b23bdf118336b94d54146bac41b791580 (patch)
treebfd23494a303117c9b3d29f37932f0829e88b7c3 /source/blender/makesdna/DNA_scene_types.h
parent0845b1c8c8da818607fcff0a1bdb2114a0cb9729 (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 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index ed8e71e86f2..1429e7ce238 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -2068,7 +2068,9 @@ typedef enum eGPencil_Flags {
/* Add the strokes below all strokes in the layer */
GP_TOOL_FLAG_PAINT_ONBACK = (1 << 2),
/* Show compact list of colors */
- GP_TOOL_FLAG_THUMBNAIL_LIST = (1 << 3),
+ GP_TOOL_FLAG_THUMBNAIL_LIST = (1 << 3),
+ /* Generate wheight data for new strokes */
+ GP_TOOL_FLAG_CREATE_WEIGHTS = (1 << 4),
} eGPencil_Flags;
/* scene->r.simplify_gpencil */