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:
authorYimingWu <xp8110@outlook.com>2021-06-25 13:48:20 +0300
committerYimingWu <xp8110@outlook.com>2021-06-25 13:48:20 +0300
commit3558bb8eae758aa7e6483d0a6fc00dc83407d4cf (patch)
tree7dc46c0bee5ce2e8d81388d4c426a5e1addb3023 /source/blender/makesdna/DNA_lineart_types.h
parentae085e301c2aac0d6956609bfe93a90a19f0e235 (diff)
LineArt: Filtering feature lines with face mask
User can specify filtering options inside line art modifier, like inverting selection and including face mark region border. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11307
Diffstat (limited to 'source/blender/makesdna/DNA_lineart_types.h')
-rw-r--r--source/blender/makesdna/DNA_lineart_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h
index bbb3bd29197..3a3af622dd5 100644
--- a/source/blender/makesdna/DNA_lineart_types.h
+++ b/source/blender/makesdna/DNA_lineart_types.h
@@ -39,6 +39,7 @@
* Edge flags and usage flags are used by with scene/object/gpencil modifier bits, and those values
* needs to stay consistent throughout. */
+/* These flags are used for 1 time calculation, not stroke selection afterwards. */
typedef enum eLineartMainFlags {
LRT_INTERSECTION_AS_CONTOUR = (1 << 0),
LRT_EVERYTHING_AS_CONTOUR = (1 << 1),
@@ -52,9 +53,9 @@ typedef enum eLineartMainFlags {
LRT_FILTER_FACE_MARK = (1 << 9),
LRT_FILTER_FACE_MARK_INVERT = (1 << 10),
LRT_FILTER_FACE_MARK_BOUNDARIES = (1 << 11),
- LRT_CHAIN_FLOATING_EDGES = (1 << 11),
- LRT_CHAIN_GEOMETRY_SPACE = (1 << 12),
- LRT_ALLOW_OVERLAP_EDGE_TYPES = (1 << 13),
+ LRT_CHAIN_FLOATING_EDGES = (1 << 12),
+ LRT_CHAIN_GEOMETRY_SPACE = (1 << 13),
+ LRT_ALLOW_OVERLAP_EDGE_TYPES = (1 << 14),
} eLineartMainFlags;
typedef enum eLineartEdgeFlag {