diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-03 09:07:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-03 09:07:16 +0400 |
commit | 790e9d9fa084c30609a13d175c56a4f3c14f132e (patch) | |
tree | e56e66a7b0e5d1eef4153be76b1d2cc0b97c9fa6 /source/blender/bmesh/tools/bmesh_decimate.h | |
parent | 8a1ef33e88d2683f8566f4db8edbc3dc2f488307 (diff) |
fix [#35311] Planar Decimate / Limited Dissolve fails to merge some adjacent faces
optionally limit by face flipping, also added support to delimit by material and edge crease.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_decimate.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate.h b/source/blender/bmesh/tools/bmesh_decimate.h index d3eaf1c6670..c77cb18c518 100644 --- a/source/blender/bmesh/tools/bmesh_decimate.h +++ b/source/blender/bmesh/tools/bmesh_decimate.h @@ -33,9 +33,11 @@ void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool void BM_mesh_decimate_unsubdivide(BMesh *bm, const int iterations); void BM_mesh_decimate_dissolve_ex(BMesh *bm, const float angle_limit, const bool do_dissolve_boundaries, + const BMO_Delimit delimit, BMVert **vinput_arr, const int vinput_len, BMEdge **einput_arr, const int einput_len); -void BM_mesh_decimate_dissolve(BMesh *bm, const float angle_limit, const bool do_dissolve_boundaries); +void BM_mesh_decimate_dissolve(BMesh *bm, const float angle_limit, const bool do_dissolve_boundaries, + const BMO_Delimit delimit); /* these weights are accumulated so too high values may reach 'inf' too quickly */ #define BM_MESH_DECIM_WEIGHT_MAX 100000.0f |