diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-02 00:17:42 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-02 00:17:42 +0300 |
commit | bad7e33eacdc33e63407185be2c120331bbee8d0 (patch) | |
tree | 71b4cbee4504766fab022b583c8fd54730ef248a /source | |
parent | cae8b8783d5e353e24b57d1ad56ee417f1248488 (diff) |
Wavk report #1730
Mesh editmode, 'add face' didn't do an undopush
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editmesh_add.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index f65ed98355e..6fb6f3ddf3f 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -316,6 +316,7 @@ void addedgeface_mesh(void) if(amount==2) { eed= addedgelist(neweve[0], neweve[1], NULL); EM_select_edge(eed, 1); + BIF_undo_push("Add edge"); allqueue(REDRAWVIEW3D, 0); makeDispList(G.obedit); return; @@ -378,6 +379,7 @@ void addedgeface_mesh(void) inp= efa->n[0]*G.vd->viewmat[0][2] + efa->n[1]*G.vd->viewmat[1][2] + efa->n[2]*G.vd->viewmat[2][2]; if(inp < 0.0) flipface(efa); + BIF_undo_push("Add face"); } countall(); |