41 ot->
name =
"Set Geometry Randomization";
42 ot->
idname =
"GEOMETRY_OT_geometry_randomization";
43 ot->
description =
"Toggle geometry randomization for debugging purposes";
53 "Randomize the order of geometry elements (e.g. vertices or edges) after some "
54 "operations where there are no guarantees about the order. This avoids "
55 "accidentally depending on something that may change in the future");
Main * CTX_data_main(const bContext *C)
#define LISTBASE_FOREACH(type, var, list)
void DEG_id_tag_update(ID *id, unsigned int flags)
static int geometry_randomization_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static int geometry_randomization_exec(bContext *C, wmOperator *op)
void GEOMETRY_OT_geometry_randomization(wmOperatorType *ot)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
int(* invoke)(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
int(* exec)(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
int WM_operator_props_popup(bContext *C, wmOperator *op, const wmEvent *)