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:
authorJoseph Eagar <joeedh@gmail.com>2021-08-27 04:00:29 +0300
committerJoseph Eagar <joeedh@gmail.com>2021-08-27 04:00:29 +0300
commit8ea7c93a3789e4371b896906e90e4c5ac2a5c47c (patch)
tree1827ae273ee141e1ecb34ebf92de7367f6751653 /source/blender/makesdna/DNA_meshdata_types.h
parent12f87d02c686c7d35dc3f2f02b2bf28e81106dd0 (diff)
Sculpt dyntopo: support sharp edge flags
* Sharp edge flags are now supported and are treated much the same as face set boundaries: + Dyntopo preserves them + Interior smoothing treats them as boundaries + Corners are detected and pinned in smoothing + TODO: add a brush flag to ignore sharp boundaries for smoothing. * Seams are also preserved, but don't affect smoothing. * BMLog now saves edges. * The new edge split function is enabled. * Dyntopo now pushes new combined BMLog entries in its top-level function, to avoid scary id reuse edge cases. * SCULPT_vertex_is_boundary/corner now take a bitmask of which types of boundaries you wish to query instead of check_face_sets.
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 3c9d2198ee5..bbf573af03f 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -554,8 +554,11 @@ enum {
DYNVERT_FSET_CORNER = (1 << 7),
DYNVERT_CORNER = (1 << 8),
DYNVERT_API_TEMP1 = (1 << 9),
- DYNVERT_API_TEMP2 = (1 << 10),
- DYNVERT_SPLIT_TEMP = (1 << 15)
+ DYNVERT_SEAM_BOUNDARY = (1 << 10),
+ DYNVERT_SHARP_BOUNDARY = (1 << 11),
+ DYNVERT_SEAM_CORNER = (1 << 12),
+ DYNVERT_SHARP_CORNER = (1 << 13),
+ DYNVERT_SPLIT_TEMP = (1 << 15),
};
#ifdef __cplusplus