bdae3e28a28d0802cdadd542856e5a201c28a318
Previously the method of picking the "target" duplicate wasn't deterministic from a user perspective. The behavior has been changed so: - For a cluster of 3 or more vertices, use the vertex closest to the centroid. - For a cluster of 2 use the lowest index. This mitigates #78916, solving some cases where clusters have a central vertex although can't be considered fixed as the 2 vertex case doesn't work so well. Added a BLI_kdtree_{N}d_calc_duplicates_cb function that lets the caller choose the index to keep from a cluster of duplicates. Refactored from !145851. Ref !146492 Co-authored-by: tariqsulley <tariqsulley3c@gmail.com>
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
