11afddc681d05658e6d141015cc276ca3e1e7c59
Join operator connects wrong ends and crashes
Sometimes when joining two or more strokes ends that were not close would be merge. This was caused by using `dst_drawing` instead of `tmp_drawing`. The function `compute_closest_range_to` would try to the the first and last point by using the drawing that the `PointsRange` would have a pointer to. But the `working_range` would point to `dst_drawing` with would have the `CurveGeometry` of `dst_curves` instead of `tmp_curves` This would lead to the wrong first and last points being used for deciding which end to connect. This problem could also lead to a crash by trying to get a curve that does not exist. Pull Request: https://projects.blender.org/blender/blender/pulls/144668
…
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%
