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:
authorCampbell Barton <ideasman42@gmail.com>2015-06-04 12:49:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-04 19:56:11 +0300
commit455ca1b28f140482f2834c9bba0adc730aff6637 (patch)
tree33203edd53c9bbc8b0b8cd8a897487952597c298 /source/blender/bmesh/tools/bmesh_decimate.h
parentc64f491f9f45d802bc3a3cb168255dc680ea0d13 (diff)
BMesh decimate, improve behavior with weights
Add slider to adjust the influence of weights relative to geometry distortion. This allows subtle influences to be applied - without drastic changes in behavior.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_decimate.h')
-rw-r--r--source/blender/bmesh/tools/bmesh_decimate.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate.h b/source/blender/bmesh/tools/bmesh_decimate.h
index 17b55be52dc..b0a85b09d5a 100644
--- a/source/blender/bmesh/tools/bmesh_decimate.h
+++ b/source/blender/bmesh/tools/bmesh_decimate.h
@@ -42,8 +42,4 @@ 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
-#define BM_MESH_DECIM_WEIGHT_EPS (1.0f / BM_MESH_DECIM_WEIGHT_MAX)
-
#endif /* __BMESH_DECIMATE_H__ */