Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-03-18 06:30:24 +0300
committerJoshua Leung <aligorith@gmail.com>2007-03-18 06:30:24 +0300
commit41aac13d9eb1c39f34b2b8471f349471ee2f0f5b (patch)
treee2eb17b843a30a24d58f178fbf16147292c2789d /source/blender/src/header_info.c
parent6b4f197983c013707e23a69628f26dcb0b2b9c5a (diff)
== Recently-Opened Files List (Patch #5708) ==
In the past, this was limited to only having 10 items. Now you can set the number of recently opened files that are remembered (ranging from 0 to 30 items). Setting for this can be found under 'Auto-Save' in the Info window.
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index ed4d2a546b4..b948dbc921c 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -924,7 +924,7 @@ static uiBlock *info_openrecentmenu(void *arg_unused)
menuwidth, 19, NULL, 0.0, 0.0, 1, 0, "");
}
- for (recent = G.recent_files.first, i=0; i<10 && recent; recent = recent->next, i++) {
+ for (recent = G.recent_files.first, i=0; i<U.recent_files && recent; recent = recent->next, i++) {
if (strcmp(recent->filename, G.sce)!=0) {
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, recent->filename, 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 1, i+1, "");