Page MenuHome

Fix T98101: Handle single point curves in delete brush
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on May 13 2022, 7:53 PM.

Details

Summary

The 3D brush utility and the delete brush only considered segments,
so they did not handle single points. Fix by adding special cases for
single point curves, in one case by using the same position for the
first and last point of a "segment".

I noticed that the delete brush can delete points outside of the
brush radius in 3D mode, but currently I don't think that's an error
with the new code added here.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) planned changes to this revision.May 20 2022, 11:24 AM

Merge master, simplify

Jacques Lucke (JacquesLucke) added inline comments.
source/blender/editors/sculpt_paint/curves_sculpt_delete.cc
225

Why is this removed?

This revision is now accepted and ready to land.May 23 2022, 9:40 AM
source/blender/editors/sculpt_paint/curves_sculpt_delete.cc
225

Err, not sure, thanks for catching that.