Found potential crash in undo for Curve/Surface; the global var "lastnu"

wasn't restored on undo.
This commit is contained in:
2004-09-29 11:32:08 +00:00
parent ceb7d3db46
commit aa318f0bcc
2 changed files with 8 additions and 1 deletions

View File

@@ -117,7 +117,7 @@ static void undo_restore(UndoElem *undo)
{
if(undo) {
waitcursor(1);
undo->to_editmode(undo->undodata); // also frees editmode itself
undo->to_editmode(undo->undodata);
waitcursor(0);
countall();