diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-30 17:21:28 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-30 17:21:28 +0300 |
commit | ec06532cefa6e3813992fe226dddfe2235edd33c (patch) | |
tree | c0c2c0372eecfcfc642b496cdec04f0f00a0de8f /source/blender/makesdna | |
parent | 60935cb9d8bd94098eabbf84140fe07ce810fc03 (diff) |
GP: New option to disable lasso while drawing
Now it's possible to disable the lasso effect of the fill color while drawing with a fill color.
This sometimes is required to see the lines and it's the first step to implement a new lasso brush.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 6c382dcbcab..4801aee3c60 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -121,7 +121,9 @@ typedef enum eGPDbrush_Flag { /* Random settings group */ GP_BRUSH_GROUP_RANDOM = (1 << 12), /* Keep material assigned to brush */ - GP_BRUSH_MATERIAL_PINNED = (1 << 13) + GP_BRUSH_MATERIAL_PINNED = (1 << 13), + /* Do not show fill color while drawing (no lasso mode) */ + GP_BRUSH_DISSABLE_LASSO = (1 << 14), } eGPDbrush_Flag; /* BrushGpencilSettings->gp_fill_draw_mode */ |