Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-09-23 19:49:54 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-09-23 20:29:02 +0300
commit392855ce5022ccfeaa52efc04b13a7208ed0dc3f (patch)
tree994ff07dec2fd03755fed3c6dc4f7ba3082b0fb6 /source/blender/makesdna/DNA_brush_enums.h
parent2d8eadacf9fd2d0eca0f9a53b08d6bb90df54b80 (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.h4
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 */