fix for own error renaming bmesh operator dupe
authorCampbell Barton <ideasman42@gmail.com>
Sat, 30 Jun 2012 21:19:12 +0000 (21:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 30 Jun 2012 21:19:12 +0000 (21:19 +0000)
source/blender/bmesh/operators/bmo_dupe.c
source/blender/bmesh/operators/bmo_extrude.c
source/blender/bmesh/operators/bmo_mirror.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/modifiers/intern/MOD_array.c

index d02b0f73e7dfde6a93d0c40e865c0d37940de9ef..1421ae294bc76e853db242b4d7b3e4fdb48f660b 100644 (file)
@@ -487,7 +487,7 @@ void bmo_spin_exec(BMesh *bm, BMOperator *op)
        BMO_slot_copy(op, op, "geom", "lastout");
        for (a = 0; a < steps; a++) {
                if (do_dupli) {
-                       BMO_op_initf(bm, &dupop, "dupe geom=%s", op, "lastout");
+                       BMO_op_initf(bm, &dupop, "duplicate geom=%s", op, "lastout");
                        BMO_op_exec(bm, &dupop);
                        BMO_op_callf(bm, "rotate cent=%v mat=%m3 verts=%s",
                                     cent, rmat, &dupop, "newout");
index b142766722bf78937d1625e34ca642f1d0e7a77e..6cf223cb673eee3d54ab8a6a9074fbf1b174d82c 100644 (file)
@@ -195,7 +195,7 @@ void bmo_extrude_edge_only_exec(BMesh *bm, BMOperator *op)
                BMO_elem_flag_enable(bm, e->v2, EXT_INPUT);
        }
 
-       BMO_op_initf(bm, &dupeop, "dupe geom=%fve", EXT_INPUT);
+       BMO_op_initf(bm, &dupeop, "duplicate geom=%fve", EXT_INPUT);
        BMO_op_exec(bm, &dupeop);
 
        /* disable root flag on all new skin nodes */
index bcab5b642f3331318f4662c33dbfbbc3b3093c92..1ab439b38bb93c9d3c2a44dd9f43177fdde4f79c 100644 (file)
@@ -62,7 +62,7 @@ void bmo_mirror_exec(BMesh *bm, BMOperator *op)
        BMO_slot_mat4_get(op, "mat", mtx);
        invert_m4_m4(imtx, mtx);
        
-       BMO_op_initf(bm, &dupeop, "dupe geom=%s", op, "geom");
+       BMO_op_initf(bm, &dupeop, "duplicate geom=%s", op, "geom");
        BMO_op_exec(bm, &dupeop);
        
        BMO_slot_buffer_flag_enable(bm, &dupeop, "newout", BM_ALL, ELE_NEW);
index 52061d4620cafcaddf8554ffbe4df888790cb367..8c77e8bec65e4473c62ada1660472e11f80a5516 100644 (file)
@@ -1271,7 +1271,7 @@ static int edbm_duplicate_exec(bContext *C, wmOperator *op)
        BMEditMesh *em = BMEdit_FromObject(ob);
        BMOperator bmop;
 
-       EDBM_op_init(em, &bmop, op, "dupe geom=%hvef", BM_ELEM_SELECT);
+       EDBM_op_init(em, &bmop, op, "duplicate geom=%hvef", BM_ELEM_SELECT);
        
        BMO_op_exec(em->bm, &bmop);
        EDBM_flag_disable_all(em, BM_ELEM_SELECT);
@@ -2819,7 +2819,7 @@ static int mesh_separate_selected(Main *bmain, Scene *scene, Base *editbase, wmO
 
        ED_base_object_select(basenew, BA_DESELECT);
        
-       EDBM_op_callf(em, wmop, "dupe geom=%hvef dest=%p", BM_ELEM_SELECT, bm_new);
+       EDBM_op_callf(em, wmop, "duplicate geom=%hvef dest=%p", BM_ELEM_SELECT, bm_new);
        EDBM_op_callf(em, wmop, "delete geom=%hvef context=%i", BM_ELEM_SELECT, DEL_FACES);
 
        /* clean up any loose edges */
index f6d843b8724147bb67474cfa1e857544e05e6db0..fd558ee0ecb3254c04d99d452304282bce9b5b05 100644 (file)
@@ -412,7 +412,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
        if (amd->flags & MOD_ARR_MERGE)
                BMO_op_init(em->bm, &weld_op, "weld_verts");
 
-       BMO_op_initf(em->bm, &dupe_op, "dupe geom=%avef");
+       BMO_op_initf(em->bm, &dupe_op, "duplicate geom=%avef");
        first_dupe_op = dupe_op;
 
        for (j = 0; j < count - 1; j++) {
@@ -422,7 +422,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
                BMOIter oiter;
 
                if (j != 0)
-                       BMO_op_initf(em->bm, &dupe_op, "dupe geom=%s", &old_dupe_op, "newout");
+                       BMO_op_initf(em->bm, &dupe_op, "duplicate geom=%s", &old_dupe_op, "newout");
                BMO_op_exec(em->bm, &dupe_op);
 
                geom_slot = BMO_slot_get(&dupe_op, "geom");