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