bmesh: lazy initialize bmesh tool flag pool, has the advantage that modifiers that...
[blender-staging.git] / source / blender / bmesh / operators / bmo_dupe.c
index 32270007a0bccca767be6764f0145b22b8616e61..aa502203b50544070d9d056d754b479d068d2fda 100644 (file)
@@ -181,7 +181,7 @@ static BMFace *copy_face(BMOperator *op, BMesh *source_mesh,
  * Internal Copy function.
  */
 
-static void BKE_mesh_copy(BMOperator *op, BMesh *source, BMesh *target)
+static void bmo_mesh_copy(BMOperator *op, BMesh *source, BMesh *target)
 {
 
        BMVert *v = NULL, *v2;
@@ -326,7 +326,7 @@ void bmo_duplicate_exec(BMesh *bm, BMOperator *op)
        BMO_slot_buffer_flag_enable(bm, dupeop, "geom", BM_ALL, DUPE_INPUT);
 
        /* use the internal copy function */
-       BKE_mesh_copy(dupeop, bm, bm2);
+       bmo_mesh_copy(dupeop, bm, bm2);
        
        /* Output */
        /* First copy the input buffers to output buffers - original data */