diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-09-19 17:03:53 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-09-19 17:03:53 +0300 |
commit | 5c13c7cd30d14ef5199f080fb8194f8c3e9da393 (patch) | |
tree | 2211a35d418012d8f80a5f51ad54981c837b8528 /source/blender/makesdna | |
parent | be863506b842f9db40c736889e4a2521aad0d51f (diff) |
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
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) */ |