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:
authorAntonio Vazquez <blendergit@gmail.com>2022-08-29 10:47:08 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-08-29 10:47:08 +0300
commit613b6ad9e55fe904a90ba9166c8eb2fd654a8d85 (patch)
tree301f8621568f819adb5191cfb1f5cbda63ad4d94 /source/blender/makesdna/DNA_brush_enums.h
parent377b81ac0733ff25dba54f9fce6e99f66073e761 (diff)
GPencil: New conversion to outline in draw mode
This new option converts the stroke to outline perimeter as soon as is drawn. If no alternative material is set, the actual material is used. The algorithm is similar to the new operator in D15664 Reviewed By: pepeland Differential Revision: https://developer.blender.org/D15738
Diffstat (limited to 'source/blender/makesdna/DNA_brush_enums.h')
-rw-r--r--source/blender/makesdna/DNA_brush_enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_enums.h b/source/blender/makesdna/DNA_brush_enums.h
index adda23c26f2..988853e6694 100644
--- a/source/blender/makesdna/DNA_brush_enums.h
+++ b/source/blender/makesdna/DNA_brush_enums.h
@@ -87,6 +87,8 @@ typedef enum eGPDbrush_Flag {
GP_BRUSH_OCCLUDE_ERASER = (1 << 15),
/* Post process trim stroke */
GP_BRUSH_TRIM_STROKE = (1 << 16),
+ /* Post process convert to outline stroke */
+ GP_BRUSH_OUTLINE_STROKE = (1 << 17),
} eGPDbrush_Flag;
typedef enum eGPDbrush_Flag2 {