Fix #105430: Curves pick select selects multiple objects #105495

Merged
Hans Goudey merged 5 commits from HooglyBoogly/blender:fix-curves-pick-select-multi-object into blender-v3.5-release 2023-03-07 21:39:58 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 155c0cc326 - Show all commits

View File

@ -167,7 +167,7 @@ bool has_anything_selected(const VArray<bool> &varray, const IndexRange range_to
bool has_anything_selected(const bke::CurvesGeometry &curves)
{
const VArray<bool> selection = curves.attributes().lookup<bool>(".selection");
return !selection || contains(selection, curves.curves_range(), true);
return !selection || contains(selection, selection.index_range(), true);
}
bool has_anything_selected(const GSpan selection)