Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_curves.h
| Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
| * or curves that have their own selection factor greater than zero. | * or curves that have their own selection factor greater than zero. | ||||
| */ | */ | ||||
| IndexMask retrieve_selected_curves(const Curves &curves_id, Vector<int64_t> &r_indices); | IndexMask retrieve_selected_curves(const Curves &curves_id, Vector<int64_t> &r_indices); | ||||
| /** | /** | ||||
| * Find points that are selected (a selection factor greater than zero), | * Find points that are selected (a selection factor greater than zero), | ||||
| * or points in curves with a selection factor greater than zero). | * or points in curves with a selection factor greater than zero). | ||||
| */ | */ | ||||
| IndexMask retrieve_selected_points(const bke::CurvesGeometry &curves, Vector<int64_t> &r_indices); | |||||
| IndexMask retrieve_selected_points(const Curves &curves_id, Vector<int64_t> &r_indices); | IndexMask retrieve_selected_points(const Curves &curves_id, Vector<int64_t> &r_indices); | ||||
| /** | /** | ||||
| * If the ".selection" attribute doesn't exist, create it with the requested type (bool or float). | * If the ".selection" attribute doesn't exist, create it with the requested type (bool or float). | ||||
| */ | */ | ||||
| bke::GSpanAttributeWriter ensure_selection_attribute(bke::CurvesGeometry &curves, | bke::GSpanAttributeWriter ensure_selection_attribute(bke::CurvesGeometry &curves, | ||||
| const eAttrDomain selection_domain, | const eAttrDomain selection_domain, | ||||
| const eCustomDataType create_type); | const eCustomDataType create_type); | ||||
| Show All 35 Lines | |||||