diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-05 08:26:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-05 08:26:37 +0300 |
commit | ffaf271ab904cc7220a3f858bab64c441c1fbdc0 (patch) | |
tree | 739cc7b4431f7b2e515bc2b02b2f55628392f4f5 /source/blender/bmesh/tools/bmesh_decimate.h | |
parent | aca40295e8ac868b6e3aec40bbcd388177508c1f (diff) |
BMesh: decimator, allow vgroup factor over 1
Can be useful to apply more extreme weighting
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_decimate.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate.h b/source/blender/bmesh/tools/bmesh_decimate.h index b0a85b09d5a..6415da9a0c2 100644 --- a/source/blender/bmesh/tools/bmesh_decimate.h +++ b/source/blender/bmesh/tools/bmesh_decimate.h @@ -27,7 +27,10 @@ * \ingroup bmesh */ -void BM_mesh_decimate_collapse(BMesh *bm, const float factor, float *vweights, const bool do_triangulate); +void BM_mesh_decimate_collapse( + BMesh *bm, const float factor, + float *vweights, float vweight_factor, + const bool do_triangulate); void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool tag_only); void BM_mesh_decimate_unsubdivide(BMesh *bm, const int iterations); |