Fix for add plane operator broken since recent code cleanup
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Nov 2012 10:43:11 +0000 (10:43 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Nov 2012 10:43:11 +0000 (10:43 +0000)
source/blender/editors/mesh/editmesh_add.c

index ee96ba71cddafaf186ac488603085f90d3299445..65d70e231a4257093f39b39e0e79d9a6c8e3446f 100644 (file)
@@ -109,7 +109,7 @@ static int add_primitive_plane_exec(bContext *C, wmOperator *op)
        em = BMEdit_FromObject(obedit);
 
        if (!EDBM_op_call_and_selectf(em, op, "verts.out",
-                                     "create_grid xsegments=%i ysegments=%i size=%f mat=%m4", 1, 1, dia, mat))
+                                     "create_grid x_segments=%i y_segments=%i size=%f mat=%m4", 1, 1, dia, mat))
        {
                return OPERATOR_CANCELLED;
        }