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:
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 72bfe0e1ee7..552f846038f 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -986,6 +986,9 @@ int blenderqread(unsigned short event, short val)
if(textspace==0) {
if(G.qual==LR_CTRLKEY) {
if(okee("Erase all")) {
+ strcpy(G.sce, BLI_gethome());
+ strcat(G.sce, "/untitled.blend");
+ BLI_clean(G.sce);
if( BIF_read_homefile()==0) error("No file ~/.B.blend");
}
return 0;