Fix #105109: Pick selection with multi object edit #105184

1 changed files with 3 additions and 3 deletions
Showing only changes of commit c0e0928ea9 - Show all commits

View File

@ -538,14 +538,14 @@ bool select_pick(const ViewContext &vc,
closest);
}
bool changed = false;
bool deselected = false;
if (params.sel_op == SEL_OP_SET) {
if (found || params.deselect_all) {
bke::GSpanAttributeWriter selection = ensure_selection_attribute(
curves, selection_domain, CD_PROP_BOOL);
fill_selection_false(selection.span);
selection.finish();
changed = true;
deselected = true;
}
}
@ -556,7 +556,7 @@ bool select_pick(const ViewContext &vc,
selection.finish();
}
return changed || found;
return deselected || found;
}
bool select_box(const ViewContext &vc,