From 05c0992c9b8fd852855b908fcd6333678360c307 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Wed, 8 Aug 2018 20:35:08 +0200 Subject: GP: Fix modifiers Tint, Opacity and Hue and create materials to Opacity Thanks to Charlie Jolly (mistajolly@gmail.com) for his patch D3586 that added create materials to opacity modifier. I had to do some more changes to get all running. --- source/blender/makesdna/DNA_gpencil_modifier_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h') diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 1e3a4bf09f0..c1e2244427e 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -182,6 +182,7 @@ typedef enum eOpacityGpencil_Flag { GP_OPACITY_INVERT_LAYER = (1 << 0), GP_OPACITY_INVERT_PASS = (1 << 1), GP_OPACITY_INVERT_VGROUP = (1 << 2), + GP_OPACITY_CREATE_COLORS = (1 << 3), } eOpacityGpencil_Flag; typedef struct InstanceGpencilModifierData { -- cgit v1.2.3