diff options
Diffstat (limited to 'source/blender/editors/object/object_random.c')
-rw-r--r-- | source/blender/editors/object/object_random.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_random.c b/source/blender/editors/object/object_random.c index 05726e5be2d..41eba6dd07f 100644 --- a/source/blender/editors/object/object_random.c +++ b/source/blender/editors/object/object_random.c @@ -139,7 +139,9 @@ void TRANSFORM_OT_vertex_random(struct wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* props */ - RNA_def_float(ot->srna, "offset", 0.1f, -FLT_MAX, FLT_MAX, "Amount", "Distance to offset", -10.0f, 10.0f); + ot->prop = RNA_def_float( + ot->srna, "offset", 0.1f, -FLT_MAX, FLT_MAX, + "Amount", "Distance to offset", -10.0f, 10.0f); RNA_def_float(ot->srna, "uniform", 0.0f, 0.0f, 1.0f, "Uniform", "Increase for uniform offset distance", 0.0f, 1.0f); RNA_def_float(ot->srna, "normal", 0.0f, 0.0f, 1.0f, "normal", |