Found potential crash in undo for Curve/Surface; the global var "lastnu"
wasn't restored on undo.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user