d0089e6fe122c75a6504e1e52953257fc5b816bb
This implements the _automerge_ feature which finds nearby end points during stroke draw and merges the new curve with existing strokes. New utility functions are added in `geometry` for slightly generalized functionality. The `curves_merge_endpoints` takes an index map that describes how to connect curves by index. It performs a topological sort and reorders connected curves into contiguous ranges. This can be used with an arbitrary number of connected curves. The tool feature itself only uses a single curve, based on 2D end point positions. Unit tests have been added for the curve merge utility function. Pull Request: https://projects.blender.org/blender/blender/pulls/124459
…
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%
