Hrms... setting the undosteps to zero then should also work! :)

This commit is contained in:
Ton Roosendaal
2005-12-05 11:52:30 +00:00
parent 4fb1bcaa15
commit a2d66cbff8

View File

@@ -527,7 +527,8 @@ void BKE_write_undo(char *name)
UndoElem *uel;
if( (U.uiflag & USER_GLOBALUNDO)==0) return;
if( U.undosteps==0) return;
/* remove all undos after (also when curundo==NULL) */
while(undobase.last != curundo) {
uel= undobase.last;