diff options
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 3d050805f12..1d31b876068 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -99,7 +99,8 @@ typedef struct MaterialGPencilStyle { float mix_stroke_factor; /** Mode used to align Dots and Boxes with stroke drawing path and object rotation */ int alignment_mode; - char _pad[4]; + /** Rotation for texture for Dots and Squares. */ + float alignment_rotation; } MaterialGPencilStyle; /* MaterialGPencilStyle->flag */ @@ -128,6 +129,10 @@ typedef enum eMaterialGPencilStyle_Flag { GP_MATERIAL_STROKE_TEX_MIX = (1 << 11), /* disable stencil clipping (overlap) */ GP_MATERIAL_DISABLE_STENCIL = (1 << 12), + /* Material used as stroke masking. */ + GP_MATERIAL_IS_STROKE_HOLDOUT = (1 << 13), + /* Material used as fill masking. */ + GP_MATERIAL_IS_FILL_HOLDOUT = (1 << 14), } eMaterialGPencilStyle_Flag; typedef enum eMaterialGPencilStyle_Mode { |