diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 773ad3cfb8f..b81631601d0 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -1189,9 +1189,6 @@ ImBuf *read_backbuf(short xmin, short ymin, short xmax, short ymax) dr++; } - ibuf->ftype= PNG; - IMB_saveiff(ibuf, "/tmp/rt.png", IB_rect); - /* put clipped result back, if needed */ if(xminc==xmin && xmaxc==xmax && yminc==ymin && ymaxc==ymax) return ibuf; diff --git a/source/blender/src/editmode_undo.c b/source/blender/src/editmode_undo.c index 765a2d312f7..be50e229fb3 100644 --- a/source/blender/src/editmode_undo.c +++ b/source/blender/src/editmode_undo.c @@ -327,7 +327,7 @@ uiBlock *editmode_undohistorymenu(void *arg_unused) block= uiNewBlock(&curarea->uiblocks, "view3d_edit_mesh_undohistorymenu", UI_EMBOSSP, UI_HELV, G.curscreen->mainwin); uiBlockSetButmFunc(block, do_editmode_undohistorymenu, NULL); - uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Undo All Changes|Ctrl U", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 1, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Undo All Changes", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 1, ""); for(uel= undobase.first; uel; uel= uel->next, item++) { if (uel==curundo) uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");