diff options
author | YimingWu <xp8110@outlook.com> | 2021-06-25 08:15:25 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-06-25 08:15:25 +0300 |
commit | 841df831e89dfc4011c323203c2efb8265dc1878 (patch) | |
tree | 6e669d413cbd7de6510a5903102ad9a37e4cdc71 /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | 3d7021b4ec23d79fef361364c35965d9af0f4e5b (diff) |
LineArt: More type & related chaining improvements
This patch includes: Floating edge type support,
Special chaining option for floating edge,
Chaining option for reducing jagged edges when floating
edges are involved.
Reviewed By: Sebastian Parborg (zeddb)
Differential Revision: https://developer.blender.org/D11306
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 3977ad326da..c0768c9a077 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -874,8 +874,9 @@ typedef enum eLineartGpencilModifierSource { } eLineartGpencilModifierSource; typedef enum eLineArtGPencilModifierFlags { - LRT_GPENCIL_INVERT_SOURCE_VGROUP = (1 << 0), - LRT_GPENCIL_MATCH_OUTPUT_VGROUP = (1 << 1), + /* These two moved to eLineartMainFlags to keep consistent with flag variable purpose. */ + /* LRT_GPENCIL_INVERT_SOURCE_VGROUP = (1 << 0), */ + /* LRT_GPENCIL_MATCH_OUTPUT_VGROUP = (1 << 1), */ LRT_GPENCIL_BINARY_WEIGHTS = (1 << 2) /* Deprecated, this is removed for lack of use case. */, LRT_GPENCIL_IS_BAKED = (1 << 3), LRT_GPENCIL_USE_CACHE = (1 << 4), @@ -925,7 +926,7 @@ typedef struct LineartGpencilModifierData { /** `0..PI` angle, for splitting strokes at sharp points. */ float angle_splitting_threshold; - /* CPU mode */ + /* Doubles as geometry threshold when geometry space chaining is enabled */ float chaining_image_threshold; /* Ported from SceneLineArt flags. */ |