diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-09-23 19:49:54 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-09-23 20:29:02 +0300 |
commit | 392855ce5022ccfeaa52efc04b13a7208ed0dc3f (patch) | |
tree | 994ff07dec2fd03755fed3c6dc4f7ba3082b0fb6 /source/blender/makesdna/DNA_brush_enums.h | |
parent | 2d8eadacf9fd2d0eca0f9a53b08d6bb90df54b80 (diff) |
GPencil: Improve Fill Tool Extend lines
* Improve how the extend lines collision is calculated.
* Added `S` key to switch between modes.
* Now extend factor does not disable visual aids (thi sis done with checkbox).
* Reduce the use of linked list and now memory array is used.
* Refactor Radius functions.
* Fixed bug of Radius mode when object is rotated.
* Cleanup code.
Differential Revision: https://developer.blender.org/D16022
Diffstat (limited to 'source/blender/makesdna/DNA_brush_enums.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_enums.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_enums.h b/source/blender/makesdna/DNA_brush_enums.h index 97abf0fec5e..476000d8885 100644 --- a/source/blender/makesdna/DNA_brush_enums.h +++ b/source/blender/makesdna/DNA_brush_enums.h @@ -127,8 +127,8 @@ typedef enum eGP_FillDrawModes { /* BrushGpencilSettings->fill_extend_mode */ typedef enum eGP_FillExtendModes { - GP_FILL_EMODE_RADIUS = 0, - GP_FILL_EMODE_EXTEND = 1, + GP_FILL_EMODE_EXTEND = 0, + GP_FILL_EMODE_RADIUS = 1, } eGP_FillExtendModes; /* BrushGpencilSettings->fill_layer_mode */ |