Curves: Add select linked #104569

Merged
Falk David merged 5 commits from filedescriptor/blender:curves-select-linked into main 2023-02-10 18:58:10 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5cfd7002e2 - Show all commits

View File

@ -983,9 +983,9 @@ static void CURVES_OT_select_end(wmOperatorType *ot)
ot->srna, "amount", 1, 0, INT32_MAX, "Amount", "Number of points to select", 0, INT32_MAX);
}
static int select_linked_exec(bContext *C, wmOperator */*op*/)
static int select_linked_exec(bContext *C, wmOperator * /*op*/)
{
VectorSet<Curves *> unique_curves = curves::get_unique_editable_curves(*C);
VectorSet<Curves *> unique_curves = get_unique_editable_curves(*C);
filedescriptor marked this conversation as resolved
Review

(I know, copied code) but the curves:: namespace specification shouldn't be necessary here, since we're already in that namespace.

(I know, copied code) but the `curves::` namespace specification shouldn't be necessary here, since we're already in that namespace.
for (Curves *curves_id : unique_curves) {
CurvesGeometry &curves = curves_id->geometry.wrap();
select_linked(curves);