Curves: Add select linked #104569
|
@ -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);
|
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
|
|||||||
for (Curves *curves_id : unique_curves) {
|
for (Curves *curves_id : unique_curves) {
|
||||||
CurvesGeometry &curves = curves_id->geometry.wrap();
|
CurvesGeometry &curves = curves_id->geometry.wrap();
|
||||||
select_linked(curves);
|
select_linked(curves);
|
||||||
|
|
Loading…
Reference in New Issue
(I know, copied code) but the
curves::
namespace specification shouldn't be necessary here, since we're already in that namespace.