Lotsa undo stuff added;

- ALT+U undo menu shows history for global undo as well
- Added undo pushes for buttons window more consistantly
- Added it & tested for ipowindow too
- Added it in outliner
- And quite some missing occasions for 3d window editing
This commit is contained in:
2004-11-07 16:49:46 +00:00
parent c702b237d5
commit 0f84375d7a
18 changed files with 202 additions and 72 deletions

View File

@@ -705,7 +705,14 @@ void BIF_undo_menu(void)
else if(G.f & G_VERTEXPAINT)
;
else {
if(U.uiflag & USER_GLOBALUNDO) BKE_undo_menu();
if(U.uiflag & USER_GLOBALUNDO) {
char *menu= BKE_undo_menu_string();
if(menu) {
short event= pupmenu_col(menu, 20);
MEM_freeN(menu);
if(event>0) BKE_undo_number(event);
}
}
}
}
}