Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2009-06-18 05:31:50 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-06-18 05:31:50 +0400
commit6bdbbf150dca318c295ded10cd4823b177471bff (patch)
tree8e103dbccdf6ef81bf29489f1bf8058cfadc5f74 /source/blender/editors/mesh/editmesh_add.c
parentc3fd34d9a79b75e5615f893f0b1885828a164ec8 (diff)
Ported over the delete key and fkey fully over
to bmesh. Yay! Creating faces from edge nets is sill missing, I'm leaving that for later. I added two new bmop functions, BMO_HeaderFlag_Buffer and BMO_UnHeaderFlag_Buffer, which are header flag version of BMO_Flag_Buffer and BMO_Unflag_Buffer. The new functions properly handle setting/clearing BM_SELECT via the selection API.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_add.c')
-rw-r--r--source/blender/editors/mesh/editmesh_add.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c
index 318a217bcd3..405d2a19d41 100644
--- a/source/blender/editors/mesh/editmesh_add.c
+++ b/source/blender/editors/mesh/editmesh_add.c
@@ -711,37 +711,6 @@ static void addedgeface_mesh(Mesh *me, BMEditMesh *bem, wmOperator *op)
BKE_mesh_end_editmesh(me, em);
}
-static int addedgeface_mesh_exec(bContext *C, wmOperator *op)
-{
- Object *obedit= CTX_data_edit_object(C);
- BMEditMesh *em= ((Mesh *)obedit->data)->edit_btmesh;
-
- addedgeface_mesh((Mesh *)obedit->data, em, op);
-
- WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_SELECT, obedit);
-
- DAG_object_flush_update(CTX_data_scene(C), obedit, OB_RECALC_DATA);
-
- return OPERATOR_FINISHED;
-}
-
-void MESH_OT_edge_face_add(wmOperatorType *ot)
-{
- /* identifiers */
- ot->name= "Make Edge/Face";
- ot->idname= "MESH_OT_edge_face_add";
-
- /* api callbacks */
- ot->exec= addedgeface_mesh_exec;
- ot->poll= ED_operator_editmesh;
-
- /* flags */
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
-
-}
-
-
-
/* ************************ primitives ******************* */
// HACK: these can also be found in cmoview.tga.c, but are here so that they can be found by linker