Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/object/object_random.c')
-rw-r--r--source/blender/editors/object/object_random.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_random.c b/source/blender/editors/object/object_random.c
index c151f565ecb..a130e3f3766 100644
--- a/source/blender/editors/object/object_random.c
+++ b/source/blender/editors/object/object_random.c
@@ -180,4 +180,7 @@ void TRANSFORM_OT_vertex_random(struct wmOperatorType *ot)
1.0f);
RNA_def_int(
ot->srna, "seed", 0, 0, 10000, "Random Seed", "Seed for the random number generator", 0, 50);
+
+ /* Set generic modal callbacks. */
+ WM_operator_type_modal_from_exec_for_object_edit_coords(ot);
}