Grease Pencil: Join Operator leaves handles selected

This PR makes so that bezier handles are deselected when
using the `Join` operator.

Pull Request: https://projects.blender.org/blender/blender/pulls/144664
This commit is contained in:
Casey Bianco-Davis
2025-08-25 11:54:05 +02:00
committed by Falk David
parent 494b041585
commit ede77f72fa

View File

@@ -390,6 +390,16 @@ void clear_selection_attribute(Span<PointsRange> ranges_selected)
ed::curves::fill_selection_false(selection.span);
selection.finish();
}
if (bke::GSpanAttributeWriter selection = attributes.lookup_for_write_span(".selection_left"))
{
ed::curves::fill_selection_false(selection.span);
selection.finish();
}
if (bke::GSpanAttributeWriter selection = attributes.lookup_for_write_span(".selection_right"))
{
ed::curves::fill_selection_false(selection.span);
selection.finish();
}
}
}