From 5cf72833429f4c63d27ea0a72878af1fec6dcf4e Mon Sep 17 00:00:00 2001 From: Henrik Dick Date: Mon, 13 Apr 2020 17:15:16 +0200 Subject: Fix T75032: New complex solidify algorithm handles poorly merging threshold of small geometry details. * Implemented the algortihm that would merge vertices to the weighted center between them. * Exposed the merge threshold to the user. The new default tolerance is 0.0001 (versionning code ensures that previous default value remains in use to avoid any change in existing files). Review and minor changes/cleanups from Bastien Montagne (@mont29). --- source/blender/makesdna/DNA_modifier_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index b2b2a73848a..431fcb7a243 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1175,6 +1175,9 @@ typedef struct SolidifyModifierData { int flag; short mat_ofs; short mat_ofs_rim; + + float merge_tolerance; + char _pad1[4]; } SolidifyModifierData; /** #SolidifyModifierData.flag */ -- cgit v1.2.3