From 613b6ad9e55fe904a90ba9166c8eb2fd654a8d85 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Mon, 29 Aug 2022 09:47:08 +0200 Subject: 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 --- source/blender/makesdna/DNA_brush_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_brush_types.h') diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index b24bb786593..174ec614238 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -135,6 +135,8 @@ typedef struct BrushGpencilSettings { /* optional link of material to replace default in context */ /** Material. */ struct Material *material; + /** Material Alternative for secondary operations. */ + struct Material *material_alt; } BrushGpencilSettings; typedef struct BrushCurvesSculptSettings { -- cgit v1.2.3