Removed the 'recover temp' option from the splash screen - the way the temp saving...
authorMatt Ebb <matt@mke3.net>
Thu, 18 Mar 2010 07:05:20 +0000 (07:05 +0000)
committerMatt Ebb <matt@mke3.net>
Thu, 18 Mar 2010 07:05:20 +0000 (07:05 +0000)
works, it's mostly non-functional there (i.e. when you've just started the application).

It would be nice if blender could name the temp files in a special way so that it could actually
search through the temp folder and find the most recently saved temp file, but for now, I'll
just remove the option.

source/blender/windowmanager/intern/wm_operators.c

index 7d16fba404ce36f643691cc4a8b1abfcfa02b4a6..3a251ecd491e0021665fbdd615af7509479b2857 100644 (file)
@@ -1110,10 +1110,8 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *arg_unuse
                else                            display_name= recent->filename;
                uiItemStringO(col, display_name, ICON_FILE_BLEND, "WM_OT_open_mainfile", "path", recent->filename);
        }
-       uiItemL(col, "Recovery", 0);
-       uiItemO(col, NULL, ICON_FILE_BLEND, "WM_OT_recover_last_session");
-       uiItemO(col, NULL, ICON_FILE_BLEND, "WM_OT_recover_auto_save");
-       
+       uiItemS(col);
+       uiItemO(col, NULL, ICON_HELP, "WM_OT_recover_last_session");
        uiItemL(col, "", 0);
 
        uiCenteredBoundsBlock(block, 0.0f);