diff options
author | Henrik Dick <hen-di@web.de> | 2020-12-09 03:10:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-09 04:29:48 +0300 |
commit | 9b11a7776f2ab8ac42e835a17ed7566fd80a4b8c (patch) | |
tree | 6e8eeb9092f4ad6587a1ff807e88b0f2cfa810d3 /source/blender/makesdna/DNA_modifier_defaults.h | |
parent | e17967f890a09c3bd810632c2c3244f9f988919f (diff) |
Modifier: Add "Connected" mode to the weld modifier
Implement improvement from T73139 for merging along edges.
It is now called "Connected" mode, while the default is called "All".
With the recent performance improvement, the Connected Mode is in some
cases only double the speed than the usual merge all strategy but in
other cases it may be even faster. The bottleneck is somewhere further
down the line of merging geometry.
The motivation for this patch came from T80897, because the merging in
complex solidify is making it very slow.
Now merging can be removed from solidify without greater consequences,
as this is just a quicker and more advanced algorithm to do the same
thing that solidify currently does slowly.
Reviewed by: mano-wii, campbellbarton
Ref D8966
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_defaults.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_defaults.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_defaults.h b/source/blender/makesdna/DNA_modifier_defaults.h index f73f43ddade..793a229bdc5 100644 --- a/source/blender/makesdna/DNA_modifier_defaults.h +++ b/source/blender/makesdna/DNA_modifier_defaults.h @@ -801,6 +801,7 @@ #define _DNA_DEFAULT_WeldModifierData \ { \ .merge_dist = 0.001f, \ + .mode = MOD_WELD_ALL_MODE, \ .defgrp_name = "", \ } |