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).
This commit is contained in:
Henrik Dick
2020-04-13 17:15:16 +02:00
committed by Bastien Montagne
parent c19f37764d
commit 5cf7283342
6 changed files with 73 additions and 31 deletions

View File

@@ -1049,6 +1049,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "edge_crease_inner", text="Inner")
col.prop(md, "edge_crease_outer", text="Outer")
col.prop(md, "edge_crease_rim", text="Rim")
else:
col.prop(md, "nonmanifold_merge_threshold")
col = split.column()