py/bmesh api - add support for single item buffers (odd feature but used quite a...
[blender.git] / source / blender / editors / mesh / editmesh_slide.c
index 3f865678a8902afe34c85cc34fa441fa38cbd398..06ae91a6bcbdac73652af910aa72453e8d5eb3e9 100644 (file)
@@ -729,7 +729,7 @@ static int edbm_vertex_slide_exec_ex(bContext *C, wmOperator *op, const int do_u
 
        /* Prepare operator */
        if (!EDBM_op_init(em, &bmop, op,
-                         "slide_vert vert=%e edge=%hev distance_t=%f",
+                         "slide_vert vert=%e edges=%he distance_t=%f",
                          start_vert, BM_ELEM_SELECT, distance_t))
        {
                return OPERATOR_CANCELLED;
@@ -738,10 +738,10 @@ static int edbm_vertex_slide_exec_ex(bContext *C, wmOperator *op, const int do_u
        BMO_op_exec(bm, &bmop);
 
        /* Deselect the input edges */
-       BMO_slot_buffer_hflag_disable(bm, bmop.slots_in, "edge", BM_ALL_NOLOOP, BM_ELEM_SELECT, TRUE);
+       BMO_slot_buffer_hflag_disable(bm, bmop.slots_in, "edges", BM_EDGE, BM_ELEM_SELECT, TRUE);
 
        /* Select the output vert */
-       BMO_slot_buffer_hflag_enable(bm, bmop.slots_out, "verts.out", BM_ALL_NOLOOP, BM_ELEM_SELECT, TRUE);
+       BMO_slot_buffer_hflag_enable(bm, bmop.slots_out, "verts.out", BM_VERT, BM_ELEM_SELECT, TRUE);
 
        /* Flush the select buffers */
        EDBM_selectmode_flush(em);