diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-21 16:35:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-21 16:35:01 +0400 |
commit | 203ff71b9eff4a2cf601994ae0ec86ac165bedfc (patch) | |
tree | 59d0d9c75a71cb09ca998788a3da7b02a3d30200 /source/blender/bmesh/bmesh_class.h | |
parent | 1abb60af8069770363039db00219ce00628f1ce3 (diff) |
bmesh decimate fixes
- don't collapse boundary verts into non boundary edges (was ugly causing spikes)
- handle degenerate cases better, rather then removing double edges after collapse, check before collapsing that there won't be any degenerate faces/edges.
Diffstat (limited to 'source/blender/bmesh/bmesh_class.h')
-rw-r--r-- | source/blender/bmesh/bmesh_class.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h index 3bd99b748f6..2fcdc4b03ef 100644 --- a/source/blender/bmesh/bmesh_class.h +++ b/source/blender/bmesh/bmesh_class.h @@ -225,9 +225,8 @@ enum { BM_ELEM_DRAW = (1 << 5), /* edge display */ - /* we have 1 spare flag which is awesome but since we're limited to 8 - * only add new flags with care! - campbell */ - /* BM_ELEM_SPARE = (1 << 6), */ + /* spare tag, assumed dirty, use define in each function to name based on use */ + _BM_ELEM_TAG_ALT = (1 << 6), BM_ELEM_INTERNAL_TAG = (1 << 7) /* for low level internal API tagging, * since tools may want to tag verts and |