From 5c13c7cd30d14ef5199f080fb8194f8c3e9da393 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Mon, 19 Sep 2022 16:03:53 +0200 Subject: GPencil: Cut Extended lines in Fill tool when collide Before, the lines could be extended endless, but this added too noise. Now, the lines are not extended more if collide. Before: {F13504186} After: {F13504187} Reviewed By: mendio, frogstomp Differential Revision: https://developer.blender.org/D15992 --- source/blender/makesdna/DNA_gpencil_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index 17b25021277..26dbb544f52 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -349,6 +349,8 @@ typedef enum eGPDstroke_Flag { GP_STROKE_NEEDS_CURVE_UPDATE = (1 << 9), /* Flag to indicate that a stroke is used only for help, and will not affect rendering or fill */ GP_STROKE_HELP = (1 << 10), + /* Flag to indicate that a extend stroke collide (fill tool) */ + GP_STROKE_COLLIDE = (1 << 11), /* only for use with stroke-buffer (while drawing arrows) */ GP_STROKE_USE_ARROW_START = (1 << 12), /* only for use with stroke-buffer (while drawing arrows) */ -- cgit v1.2.3