Cleanup: use EDBM prefix
authorCampbell Barton <ideasman42@gmail.com>
Wed, 22 Aug 2018 05:22:51 +0000 (15:22 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 22 Aug 2018 05:23:28 +0000 (15:23 +1000)
source/blender/editors/include/ED_mesh.h
source/blender/editors/mesh/editmesh_extrude.c
source/blender/editors/mesh/editmesh_tools.c

index 2558ba6c99a26069960640ceaf24e50032a6fb19..c2094b4215ceb460f977554ae138575e704437e1 100644 (file)
@@ -198,7 +198,7 @@ void        ED_operatormacros_mesh(void);
 void        ED_keymap_mesh(struct wmKeyConfig *keyconf);
 
 /* editmesh_tools.c (could be moved) */
-void EMBM_project_snap_verts(struct bContext *C, struct ARegion *ar, struct BMEditMesh *em);
+void EDBM_project_snap_verts(struct bContext *C, struct ARegion *ar, struct BMEditMesh *em);
 
 
 /* editface.c */
index 49ee78316766062c92cc21f24d30b9335e90d7aa..7ea89c564323086ffa120c6f00d3380160885ce8 100644 (file)
@@ -661,7 +661,7 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w
 
                        /* also project the source, for retopo workflow */
                        if (use_proj)
-                               EMBM_project_snap_verts(C, vc.ar, vc.em);
+                               EDBM_project_snap_verts(C, vc.ar, vc.em);
                }
 
                edbm_extrude_ex(vc.obedit, vc.em, extrude_htype, BM_ELEM_SELECT, true, true);
@@ -693,7 +693,7 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w
        }
 
        if (use_proj)
-               EMBM_project_snap_verts(C, vc.ar, vc.em);
+               EDBM_project_snap_verts(C, vc.ar, vc.em);
 
        /* This normally happens when pushing undo but modal operators
         * like this one don't push undo data until after modal mode is
index 3e4f8232e6260d35a5ef4845980aeb6a8c82df50..313dd28e806eed0d3f29d699625e80ad9a527c41 100644 (file)
@@ -312,7 +312,7 @@ void MESH_OT_unsubdivide(wmOperatorType *ot)
        RNA_def_int(ot->srna, "iterations", 2, 1, 1000, "Iterations", "Number of times to unsubdivide", 1, 100);
 }
 
-void EMBM_project_snap_verts(bContext *C, ARegion *ar, BMEditMesh *em)
+void EDBM_project_snap_verts(bContext *C, ARegion *ar, BMEditMesh *em)
 {
        Object *obedit = em->ob;
        BMIter iter;