72 if ((bp->
hide == 0) || (hidden == 1)) {
106 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
116 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
133 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
143 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
155 bool changed =
false;
159 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
160 if (bezt->
hide == 0) {
170 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
184 bool changed =
false;
193 bool changed =
false;
197 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
206 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
240 bool changed =
false;
249 bool changed_multi =
false;
250 for (
Base *base : bases) {
251 Object *obedit = base->object;
252 Curve *cu = id_cast<Curve *>(obedit->
data);
256 return changed_multi;
273 bool changed =
false;
277 bool swap_handles =
false;
289 if (bezt->
hide == 0) {
334 const bool selstatus)
339 bool lastsel =
false;
345 for (
Nurb &nu : *editnurb) {
351 bezt = &nu.bezt[a - 1];
354 if (a -
abs(next) < 0) {
357 if ((lastsel ==
false) && (bezt->
hide == 0) &&
358 ((bezt->
f2 &
SELECT) || (selstatus ==
false)))
361 if (!(bezt->
f2 &
SELECT) || (selstatus ==
false)) {
373 bezt -= (next - next /
abs(next));
377 a = nu.pntsu * nu.pntsv;
383 if (a -
abs(next) < 0) {
386 if ((lastsel ==
false) && (bp->
hide == 0) && ((bp->
f1 &
SELECT) || (selstatus ==
false))) {
388 if (!(bp->
f1 &
SELECT) || (selstatus ==
false)) {
400 bp -= (next - next /
abs(next));
427 if (obedit ==
nullptr) {
431 cu = id_cast<Curve *>(obedit->
data);
434 for (
Nurb &nu : *editnurb) {
439 if (selfirst ==
LAST) {
440 bezt = &nu.bezt[a - 1];
461 a = nu.pntsu * nu.pntsv;
464 if (selfirst ==
LAST) {
498 for (
Object *obedit : objects) {
510 ot->
name =
"(De)select First";
511 ot->
idname =
"CURVE_OT_de_select_first";
512 ot->
description =
"(De)select first of visible part of each NURBS";
530 for (
Object *obedit : objects) {
543 ot->
name =
"(De)select Last";
544 ot->
idname =
"CURVE_OT_de_select_last";
545 ot->
description =
"(De)select last of visible part of each NURBS";
573 for (
Object *obedit : objects) {
574 Curve *cu = id_cast<Curve *>(obedit->data);
583 for (
Object *obedit : objects) {
584 Curve *cu = id_cast<Curve *>(obedit->data);
585 bool changed =
false;
613 ot->
name =
"(De)select All";
614 ot->
idname =
"CURVE_OT_select_all";
643 for (
Object *obedit : objects) {
644 Curve *cu = id_cast<Curve *>(obedit->data);
646 ListBaseT<Nurb> *nurbs = &editnurb->
nurbs;
647 bool changed =
false;
649 for (
Nurb &nu : *nurbs) {
674 ot->
name =
"Select Linked All";
675 ot->
idname =
"CURVE_OT_select_linked";
676 ot->
description =
"Select all control points linked to the current selection";
705 Base *basact =
nullptr;
747 ot->
name =
"Select Linked";
748 ot->
idname =
"CURVE_OT_select_linked_pick";
749 ot->
description =
"Select all control points linked to already selected ones";
763 "Deselect linked control points rather than selecting them");
775 Curve *cu = id_cast<Curve *>(obedit->
data);
777 static BPoint *last =
nullptr;
778 static int direction = 0;
781 int u = 0,
v = 0, a,
b;
788 direction = 1 - direction;
796 for (a = 0; a < nu->
pntsv; a++) {
797 for (
b = 0;
b < nu->
pntsu;
b++, bp++) {
820 ot->
name =
"Select Control Point Row";
821 ot->
idname =
"CURVE_OT_select_row";
823 "Select a row of control points including active one. "
824 "Successive use on the same point switches between U/V directions";
848 for (
Object *obedit : objects) {
862 ot->
name =
"Select Next";
863 ot->
idname =
"CURVE_OT_select_next";
864 ot->
description =
"Select control points following already selected ones along the curves";
888 for (
Object *obedit : objects) {
902 ot->
name =
"Select Previous";
903 ot->
idname =
"CURVE_OT_select_previous";
904 ot->
description =
"Select control points preceding already selected ones along the curves";
932 for (
Nurb &nu : *editnurb) {
934 a = nu.pntsu * nu.pntsv;
940 if (a % nu.pntsu != 0) {
948 if (a - nu.pntsu > 0) {
950 tempbp = bp + nu.pntsu;
961 if (a + nu.pntsu <= nu.pntsu * nu.pntsv) {
962 tempbp = bp - nu.pntsu;
969 if (a % nu.pntsu != 1) {
986 MEM_delete(selbpoints);
1002 for (
Object *obedit : objects) {
1013 ot->
name =
"Select More";
1014 ot->
idname =
"CURVE_OT_select_more";
1015 ot->
description =
"Select control points at the boundary of each selection region";
1039 bool lastsel =
false;
1042 for (
Nurb &nu : *editnurb) {
1044 a = nu.pntsu * nu.pntsv;
1053 if ((a + 1) % nu.pntsu == 0) {
1064 if ((a + 1) % nu.pntsu == 1) {
1075 if (a + 1 > nu.pntsu * nu.pntsv - nu.pntsu) {
1111 MEM_delete(selbpoints);
1115 for (
Nurb &nu : *editnurb) {
1123 sel = (lastsel == 1);
1127 if (a == nu.pntsu - 1) {
1165 a = nu.pntsu * nu.pntsv;
1168 if ((lastsel ==
false) && (bp->
hide == 0) && (bp->
f1 &
SELECT)) {
1172 if (a == nu.pntsu * nu.pntsv - 1) {
1220 for (
Object *obedit : objects) {
1231 ot->
name =
"Select Less";
1232 ot->
idname =
"CURVE_OT_select_less";
1233 ot->
description =
"Deselect control points at the boundary of each selection region";
1261 for (
const int ob_index : objects.
index_range()) {
1262 Object *obedit = objects[ob_index];
1264 int seed_iter = seed;
1272 for (
Nurb &nu : *editnurb) {
1284 int a = nu.pntsu * nu.pntsv;
1296 const int count_select = totvert * randfac;
1297 for (
int i = 0; i < count_select; i++) {
1303 for (
Nurb &nu : *editnurb) {
1319 int a = nu.pntsu * nu.pntsv;
1334 MEM_delete(verts_selection_mask);
1346 ot->
name =
"Select Random";
1347 ot->
idname =
"CURVE_OT_select_random";
1348 ot->
description =
"Randomly select some control points";
1371 start = bezt - nu->
bezt;
1373 bezt = &nu->
bezt[a - 1];
1376 const int depth =
abs(start - a);
1387 int a, startrow, startpnt;
1390 startrow = (bp - nu->
bp) / nu->
pntsu;
1391 startpnt = (bp - nu->
bp) % nu->
pntsu;
1394 bp = &nu->
bp[a - 1];
1395 row = nu->
pntsv - 1;
1396 pnt = nu->
pntsu - 1;
1399 const int depth =
abs(pnt - startpnt) +
abs(row - startrow);
1406 pnt = nu->
pntsu - 1;
1417 void *vert =
nullptr;
1440 bool changed =
false;
1447 for (
Object *obedit : objects) {
1448 Curve *cu = id_cast<Curve *>(obedit->data);
1477 ot->
name =
"Checker Deselect";
1478 ot->
description =
"Deselect every Nth point starting from the active one";
1479 ot->
idname =
"CURVE_OT_select_nth";
1502 {0,
nullptr, 0,
nullptr,
nullptr},
1517 {0,
nullptr, 0,
nullptr,
nullptr},
1527 copy_m3_m4(rsmat, ob->object_to_world().ptr());
1536 copy_m3_m4(rsmat, ob->object_to_world().ptr());
1544 float tree_entry[3] = {0.0f, 0.0f, 0.0f};
1551 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
1556 float radius_ref = bezt->
radius;
1557 tree_entry[0] = radius_ref;
1561 float weight_ref = bezt->
weight;
1562 tree_entry[0] = weight_ref;
1574 points_1d.
add(tree_entry[0], tree_index++);
1577 points_3d.
add(tree_entry, tree_index++);
1588 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
1592 float radius_ref = bp->
radius;
1593 tree_entry[0] = radius_ref;
1597 float weight_ref = bp->
weight;
1598 tree_entry[0] = weight_ref;
1610 points_1d.
add(tree_entry[0], tree_index++);
1613 points_3d.
add(tree_entry, tree_index++);
1629 const float thresh_cos =
cosf(thresh *
float(
M_PI_2));
1630 bool changed =
false;
1636 for (i = nu->
pntsu, bezt = nu->
bezt; i--; bezt++) {
1642 float radius_ref = bezt->
radius;
1644 tree_1d, radius_ref, thresh,
eSimilarCmp(compare)))
1651 float weight_ref = bezt->
weight;
1653 tree_1d, weight_ref, thresh,
eSimilarCmp(compare)))
1665 float delta = thresh_cos -
fabsf(
cosf(orient));
1685 for (i = nu->
pntsu * nu->
pntsv, bp = nu->
bp; i--; bp++) {
1691 float radius_ref = bp->
radius;
1693 tree_1d, radius_ref, thresh,
eSimilarCmp(compare)))
1700 float weight_ref = bp->
weight;
1702 tree_1d, weight_ref, thresh,
eSimilarCmp(compare)))
1714 float delta =
fabsf(
cosf(orient)) - thresh_cos;
1747 bool anything_selected =
false;
1748 for (
Object *obedit : objects) {
1749 Curve *cu = id_cast<Curve *>(obedit->data);
1753 anything_selected =
true;
1757 if (!anything_selected) {
1768 for (
Object *obedit : objects) {
1769 Curve *cu = id_cast<Curve *>(obedit->data);
1778 type_ref |= nu.
type;
1797 for (
const auto &[pos,
index] : points_1d.
items()) {
1805 for (
const auto &[pos,
index] : points_3d.
items()) {
1814 for (
Object *obedit : objects) {
1815 Curve *cu = id_cast<Curve *>(obedit->data);
1817 bool changed =
false;
1822 if (nu.
type & type_ref) {
1831 obedit, &nu, optype, tree_1d, tree_3d, thresh, compare);
1842 if (tree_1d !=
nullptr) {
1845 if (tree_3d !=
nullptr) {
1854 ot->
name =
"Select Similar";
1855 ot->
idname =
"CURVE_OT_select_similar";
1856 ot->
description =
"Select similar curve points by property type";
1881 const float *a_fl, *b_fl;
1888 a_fl = nu->
bp[a].
vec;
1897 const int u = nu->
pntsu;
1904 i = (i_prev + 1) % u;
1909 if (i == vert_dst) {
1919 const int u = nu->
pntsu;
1922 if (vert_src > vert_dst) {
1923 std::swap(vert_src, vert_dst);
1930 std::swap(vert_src, vert_dst);
1943 if (i == vert_dst) {
1952 int totu = nu->
pntsu;
1953 int totv = nu->
pntsv;
1954 int vert_num = totu * totv;
1958 int vert, vert_prev;
1964 for (
int i = 0; i < vert_num; i++) {
1966 data[i].vert_prev = -1;
1973 int vert_curr =
data[vert_src].vert;
1975 data[vert_src].cost = 0.0f;
1976 data[vert_src].vert_prev = vert_src;
1980 if (vert_curr == vert_dst) {
1989 for (
int axis = 0; axis != 2; axis += 1) {
1990 int uv_other[2] = {u,
v};
1993 uv_other[axis] +=
sign;
1996 if (vert_other != -1) {
1997 const float dist =
data[vert_curr].cost +
2000 if (
data[vert_other].cost > dist) {
2001 data[vert_other].cost = dist;
2002 if (
data[vert_other].vert_prev == -1) {
2005 data[vert_other].vert_prev = vert_curr;
2014 if (vert_curr == vert_dst) {
2016 while (vert_curr != vert_src && i++ < vert_num) {
2023 vert_curr =
data[vert_curr].vert_prev;
2040 Base *basact =
nullptr;
2052 Curve *cu = id_cast<Curve *>(obedit->
data);
2060 if (nu_src != nu_dst) {
2065 vert_dst_p = bezt_dst ?
static_cast<void *
>(bezt_dst) :
static_cast<void *
>(bp_dst);
2067 if (vert_src == vert_dst) {
2093 ot->
name =
"Pick Shortest Path";
2094 ot->
idname =
"CURVE_OT_shortest_path_pick";
2095 ot->
description =
"Select shortest path between two selections";
#define BLI_BITMAP_NEW(_num, _alloc_string)
#define BLI_BITMAP_TEST(_bitmap, _index)
#define BLI_BITMAP_ENABLE(_bitmap, _index)
#define BLI_BITMAP_SET(_bitmap, _index, _set)
A min-heap / priority queue ADT.
A KD-tree for nearest neighbor search.
#define BEZT_ISSEL_ANY_HIDDENHANDLES(v3d, bezt)
#define BEZT_SEL_ALL(bezt)
#define BEZT_ISSEL_ANY(bezt)
#define BEZT_DESEL_ALL(bezt)
#define BEZT_ISSEL_ALL(bezt)
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
bool add(const Key &key, const Value &value)
ItemIterator items() const &
IndexRange index_range() const
void base_activate(bContext *C, Base *base)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void BKE_curve_nurb_vert_active_set(Curve *cu, const Nurb *nu, const void *vert)
void mul_m3_v3(const float M[3][3], float r[3])
void kdtree_balance(KDTree< CoordT > *tree)
void CURVE_OT_select_random(wmOperatorType *ot)
static void nurb_bezt_direction_worldspace_get(Object *ob, Nurb *nu, BezTriple *bezt, float r_dir[3])
float angle_normalized_v3v3(const float v1[3], const float v2[3]) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus WM_menu_invoke(bContext *C, wmOperator *op, const wmEvent *)
static void curve_select_shortest_path_surf(Nurb *nu, int vert_src, int vert_dst)
int BKE_curve_nurb_vert_index_get(const Nurb *nu, const void *vert)
Nurb * BKE_curve_nurb_active_get(Curve *cu)
MINLINE void copy_v2_v2_int(int r[2], const int a[2])
void CURVE_OT_select_next(wmOperatorType *ot)
int RNA_enum_get(PointerRNA *ptr, const char *name)
void WM_operator_properties_select_random(wmOperatorType *ot)
ViewContext ED_view3d_viewcontext_init(bContext *C, Depsgraph *depsgraph)
void CURVE_OT_select_all(wmOperatorType *ot)
void * MEM_new_array_uninitialized(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
void copy_m3_m4(float m1[3][3], const float m2[4][4])
static void curve_select_less(Object *obedit)
static bool ed_curve_select_nth(Curve *cu, const CheckerIntervalParams *params)
static wmOperatorStatus de_select_all_exec(bContext *C, wmOperator *op)
static wmOperatorStatus de_select_first_exec(bContext *C, wmOperator *)
static wmOperatorStatus curve_select_similar_exec(bContext *C, wmOperator *op)
int WM_operator_properties_select_random_seed_increment_get(wmOperator *op)
static wmOperatorStatus select_linked_exec(bContext *C, wmOperator *)
static void nurb_bpoint_direction_worldspace_get(Object *ob, Nurb *nu, BPoint *bp, float r_dir[3])
static bool swap_selection_bpoint(BPoint *bp)
bool ED_operator_editcurve(bContext *C)
static const EnumPropertyItem curve_prop_similar_types[]
static wmOperatorStatus select_next_exec(bContext *C, wmOperator *)
static void select_nth_bp(Nurb *nu, BPoint *bp, const CheckerIntervalParams *params)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
bool ED_curve_deselect_all_multi_ex(Span< Base * > bases)
void BKE_nurb_bezt_calc_normal(Nurb *nu, BezTriple *bezt, float r_normal[3])
void BLI_bitmap_randomize(unsigned int *bitmap, unsigned int bits_num, unsigned int seed) ATTR_NONNULL(1)
void view3d_operator_needs_gpu(const bContext *C)
Base * BKE_view_layer_active_base_get(ViewLayer *view_layer)
ATTR_WARN_UNUSED_RESULT const BMVert * v
bool ED_curve_deselect_all_multi(bContext *C)
bool ED_operator_editsurfcurve_region_view3d(bContext *C)
void BKE_nurbList_flag_set(ListBaseT< Nurb > *editnurb, eBezTriple_Flag flag, bool set)
void WM_operator_properties_checker_interval(wmOperatorType *ot, bool nth_can_disable)
static wmOperatorStatus curve_select_more_exec(bContext *C, wmOperator *)
void BKE_nurb_index_to_uv(Nurb *nu, int index, int *r_u, int *r_v)
ViewLayer * CTX_data_view_layer(const bContext *C)
void WM_operator_properties_select_all(wmOperatorType *ot)
void BKE_curve_nurb_vert_active_validate(Curve *cu)
bool ED_curve_nurb_deselect_all(const Nurb *nu)
KDTree< CoordT > * kdtree_new(uint nodes_len_capacity)
void ED_view3d_viewcontext_init_object(ViewContext *vc, Object *obact)
static wmOperatorStatus select_row_exec(bContext *C, wmOperator *)
bool ED_curve_select_swap(EditNurb *editnurb, bool hide_handles)
bool ED_curve_nurb_select_check(const View3D *v3d, const Nurb *nu)
void * BLI_heapsimple_pop_min(HeapSimple *heap) ATTR_NONNULL(1)
bool ED_select_similar_compare_float_tree(const KDTree< float > *tree, float length, float thresh, eSimilarCmp compare)
static bool curve_nurb_select_similar_type(Object *ob, Nurb *nu, const int type, const KDTree< float > *tree_1d, const KDTree< float3 > *tree_3d, const float thresh, const int compare)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
BMesh const char void * data
static float curve_calc_dist_span(Nurb *nu, int vert_src, int vert_dst)
Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C, bool rna_write_check=false)
static const EnumPropertyItem curve_prop_similar_compare_types[]
bool WM_operator_properties_checker_interval_test(const CheckerIntervalParams *op_params, int depth)
static void curve_select_shortest_path_curve(Nurb *nu, int vert_src, int vert_dst)
Object * CTX_data_edit_object(const bContext *C)
bool ED_curve_select_all(EditNurb *editnurb)
static bool swap_selection_beztriple(BezTriple *bezt)
void kdtree_insert(KDTree< CoordT > *tree, int index, const CoordT &co)
static void select_adjacent_cp(ListBaseT< Nurb > *editnurb, short next, const bool cont, const bool selstatus)
int ED_curve_select_count(const View3D *v3d, const EditNurb *editnurb)
bool ED_select_similar_compare_float(float delta, float thresh, eSimilarCmp compare)
void CURVE_OT_de_select_last(wmOperatorType *ot)
static wmOperatorStatus curve_select_less_exec(bContext *C, wmOperator *)
static float curve_calc_dist_pair(const Nurb *nu, int a, int b)
int kdtree_find_nearest(const KDTree< CoordT > *tree, const CoordT &co, KDTreeNearest< CoordT > *r_nearest)
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
bool ED_operator_editsurfcurve(bContext *C)
static void curve_nurb_selected_type_get(Object *ob, Nurb *nu, const int type, Map< float, int > &points_1d, Map< float3, int > &points_3d)
void BLI_heapsimple_free(HeapSimple *heap, HeapSimpleFreeFP ptrfreefp) ATTR_NONNULL(1)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
ListBaseT< Nurb > * object_editcurve_get(Object *ob)
static wmOperatorStatus de_select_last_exec(bContext *C, wmOperator *)
static void select_nth_bezt(Nurb *nu, BezTriple *bezt, const CheckerIntervalParams *params)
void CURVE_OT_shortest_path_pick(wmOperatorType *ot)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void CURVE_OT_de_select_first(wmOperatorType *ot)
HeapSimple * BLI_heapsimple_new() ATTR_WARN_UNUSED_RESULT
static wmOperatorStatus curve_select_random_exec(bContext *C, wmOperator *op)
static void curve_select_more(Object *obedit)
void CURVE_OT_select_more(wmOperatorType *ot)
int BKE_nurb_index_from_uv(Nurb *nu, int u, int v)
MINLINE float normalize_v3(float n[3])
void kdtree_free(KDTree< CoordT > *tree)
void BLI_heapsimple_insert(HeapSimple *heap, float value, void *ptr) ATTR_NONNULL(1)
Main * CTX_data_main(const bContext *C)
bool BKE_curve_nurb_vert_active_get(Curve *cu, Nurb **r_nu, void **r_vert)
static wmOperatorStatus edcu_shortest_path_pick_invoke(bContext *C, wmOperator *op, const wmEvent *event)
bool select_beztriple(BezTriple *bezt, bool selstatus, eBezTriple_Flag flag, eVisible_Types hidden)
void CURVE_OT_select_similar(wmOperatorType *ot)
static wmOperatorStatus select_previous_exec(bContext *C, wmOperator *)
bool BLI_heapsimple_is_empty(const HeapSimple *heap) ATTR_NONNULL(1)
static wmOperatorStatus select_linked_pick_invoke(bContext *C, wmOperator *op, const wmEvent *event)
bool ED_curve_select_check(const View3D *v3d, const EditNurb *editnurb)
void BKE_nurb_bpoint_calc_normal(Nurb *nu, BPoint *bp, float r_normal[3])
void CURVE_OT_select_linked_pick(wmOperatorType *ot)
Vector< Object * > BKE_view_layer_array_from_objects_in_edit_mode_unique_data(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const View3D *v3d)
Vector< Base * > BKE_view_layer_array_from_bases_in_edit_mode_unique_data(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const View3D *v3d)
unsigned int BLI_ghashutil_strhash_p(const void *ptr)
bool select_bpoint(BPoint *bp, bool selstatus, eBezTriple_Flag flag, bool hidden)
Scene * CTX_data_scene(const bContext *C)
static wmOperatorStatus select_linked_invoke(bContext *C, wmOperator *op, const wmEvent *)
void CURVE_OT_select_previous(wmOperatorType *ot)
bool ED_curve_pick_vert(ViewContext *vc, short sel, Nurb **r_nurb, BezTriple **r_bezt, BPoint **r_bp, short *r_handle, Base **r_base)
int ED_curve_nurb_select_count(const View3D *v3d, const Nurb *nu)
bool ED_curve_deselect_all(EditNurb *editnurb)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
bool ED_operator_editsurf(bContext *C)
void CURVE_OT_select_linked(wmOperatorType *ot)
MINLINE float len_v3v3(const float a[3], const float b[3]) ATTR_WARN_UNUSED_RESULT
bool ED_curve_nurb_select_all(const Nurb *nu)
void CURVE_OT_select_nth(wmOperatorType *ot)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
void WM_operator_properties_checker_interval_from_op(wmOperator *op, CheckerIntervalParams *op_params)
void CURVE_OT_select_row(wmOperatorType *ot)
float RNA_float_get(PointerRNA *ptr, const char *name)
void CURVE_OT_select_less(wmOperatorType *ot)
View3D * CTX_wm_view3d(const bContext *C)
static wmOperatorStatus select_nth_exec(bContext *C, wmOperator *op)
void selectend_nurb(Object *obedit, enum eEndPoint_Types selfirst, bool doswap, bool selstatus)
eHandleDisplay handle_display
wmOperatorStatus(*) exec(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
bool(*) poll(bContext *C) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) invoke(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports