Skip to content
Snippets Groups Projects
Commit bad7e33e authored by Ton Roosendaal's avatar Ton Roosendaal
Browse files

Wavk report #1730

Mesh editmode, 'add face' didn't do an undopush
parent cae8b878
No related branches found
No related tags found
No related merge requests found
...@@ -316,6 +316,7 @@ void addedgeface_mesh(void) ...@@ -316,6 +316,7 @@ void addedgeface_mesh(void)
if(amount==2) { if(amount==2) {
eed= addedgelist(neweve[0], neweve[1], NULL); eed= addedgelist(neweve[0], neweve[1], NULL);
EM_select_edge(eed, 1); EM_select_edge(eed, 1);
BIF_undo_push("Add edge");
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
makeDispList(G.obedit); makeDispList(G.obedit);
return; return;
...@@ -378,6 +379,7 @@ void addedgeface_mesh(void) ...@@ -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]; 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); if(inp < 0.0) flipface(efa);
BIF_undo_push("Add face");
} }
countall(); countall();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment