Saturday merger of bf-blender in orange branch.
[blender.git] / source / blender / src / toets.c
index a99355359f17a20c574d1710587563896aad7b21..3e67eb1ca1f6a0cd7f1918c0158952637b413c13 100644 (file)
@@ -983,7 +983,8 @@ int blenderqread(unsigned short event, short val)
                                                screen_swapbuffers();
                                        }
                                        else if(event==3) {
-                                               BKE_write_undo("10 timer");
+                                               BIF_undo();
+                                               BIF_redo();
                                        }
                                }
                        
@@ -991,8 +992,7 @@ int blenderqread(unsigned short event, short val)
                                
                                if(event==1) sprintf(tmpstr, "draw %%t|%d ms", time);
                                if(event==2) sprintf(tmpstr, "d+sw %%t|%d ms", time);
-                               if(event==3) sprintf(tmpstr, "displist %%t|%d ms", time);
-                               if(event==4) sprintf(tmpstr, "undo %%t|%d ms", time);
+                               if(event==3) sprintf(tmpstr, "undo %%t|%d ms", time);
                        
                                waitcursor(0);
                                pupmenu(tmpstr);