diff options
-rw-r--r-- | source/blender/src/editmesh_loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c index 149ff1d5d64..772de6aa15c 100644 --- a/source/blender/src/editmesh_loop.c +++ b/source/blender/src/editmesh_loop.c @@ -211,6 +211,7 @@ void CutEdgeloop(int numcuts) short event,val,choosing=1,cancel=0,dist,cuthalf = 0; char msg[128]; + BIF_undo_push("Loopcut Begin"); while(choosing){ getmouseco_areawin(mval); if (mval[0] != mvalo[0] || mval[1] != mvalo[1]) { @@ -365,7 +366,7 @@ void CutEdgeloop(int numcuts) EdgeSlide(1,0.0); else { if(EdgeSlide(0,0.0) == -1){ - undo_editmode_step(0); + BIF_undo(); } } } |