645aeb9dbe21acabd5a981fa33d55d095bf8e783
The hard eraser changes end caps to "flat" when cutting strokes. This requires detecting when the start or end points of a stroke have been cut. The previous method relied on checking the next curve's start point for cuts to determine end point cuts, but this only holds true for cutting strokes in the middle. When only the start point is cut the preceding curve should not be affected. The new test uses local properties of the `PointTransferData` to detect unchanged source curve end points, instead of doing a look-ahead for the next curve. This works using the source point indices, which are inverted for end points. Combined with checking for the `is_cut` flag this gives a reliable answer to when a stroke end point is cut. Pull Request: https://projects.blender.org/blender/blender/pulls/119151
…
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%
