Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_random.c
index 34ac169bbfc6f7c800a29d0a4e8c361f74d1fd99..a293f7a950e5bf0c7be03ef58a8523e5605b1b9d 100644 (file)
@@ -124,12 +124,12 @@ static int object_rand_verts_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;
 }
 
-void OBJECT_OT_vertex_random(struct wmOperatorType *ot)
+void TRANSFORM_OT_vertex_random(struct wmOperatorType *ot)
 {
        /* identifiers */
        ot->name = "Randomize";
        ot->description = "Randomize vertices";
-       ot->idname = "OBJECT_OT_vertex_random";
+       ot->idname = "TRANSFORM_OT_vertex_random";
 
        /* api callbacks */
        ot->exec = object_rand_verts_exec;
@@ -139,8 +139,7 @@ void OBJECT_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, "Ammount",
-                     "Distance to offset", -10.0f, 10.0f);
+       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",