WIP: uv-simple-select #1

Closed
Chris Blackbourn wants to merge 182 commits from uv-simple-select into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 18f69d3b32 - Show all commits

View File

@ -111,8 +111,8 @@ IndexMask retrieve_selected_points(const Curves &curves_id, Vector<int64_t> &r_i
* If the ".selection" attribute doesn't exist, create it with the requested type (bool or float).
*/
bke::GSpanAttributeWriter ensure_selection_attribute(bke::CurvesGeometry &curves,
const eAttrDomain selection_domain,
const eCustomDataType create_type);
eAttrDomain selection_domain,
eCustomDataType create_type);
/**
* (De)select all the curves.
@ -120,7 +120,7 @@ bke::GSpanAttributeWriter ensure_selection_attribute(bke::CurvesGeometry &curves
* \param action: One of SEL_TOGGLE, SEL_SELECT, SEL_DESELECT, or SEL_INVERT. See
* "ED_select_utils.h".
*/
void select_all(bke::CurvesGeometry &curves, const eAttrDomain selection_domain, int action);
void select_all(bke::CurvesGeometry &curves, eAttrDomain selection_domain, int action);
/**
* Select the ends (front or back) of all the curves.
@ -143,7 +143,7 @@ void select_linked(bke::CurvesGeometry &curves);
* will be selected, if set to 1.0 everything will be selected.
*/
void select_random(bke::CurvesGeometry &curves,
const eAttrDomain selection_domain,
eAttrDomain selection_domain,
uint32_t random_seed,
float probability);
@ -152,18 +152,18 @@ void select_random(bke::CurvesGeometry &curves,
*/
bool select_pick(const ViewContext &vc,
bke::CurvesGeometry &curves,
const eAttrDomain selection_domain,
eAttrDomain selection_domain,
const SelectPick_Params &params,
const int2 coord);
int2 coord);
/**
* Select points or curves in a (screen-space) rectangle.
*/
bool select_box(const ViewContext &vc,
bke::CurvesGeometry &curves,
const eAttrDomain selection_domain,
eAttrDomain selection_domain,
const rcti &rect,
const eSelectOp sel_op);
eSelectOp sel_op);
/**
* Select points or curves in a (screen-space) poly shape.