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:
authorCampbell Barton <ideasman42@gmail.com>2007-10-24 01:31:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-10-24 01:31:59 +0400
commit5b0a79c7c76d2ddc62ffeec48ccfaf22c5f2bf65 (patch)
treeec6cb6a7d421542f262d0333d410a8d9d8635f2a /source/blender/src/toets.c
parent7fc1297b3cd2b99667558cdb8b93f300a0d56b69 (diff)
bug fix, when opening blender with a file (by double clicking or from the command line) - the initial undo state would be set to the default scene.
So holding Ctrl+Z would go back to the default .B.blend rather then the file that the user opened.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 6464f699d1a..b174abfa873 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -942,7 +942,7 @@ int blenderqread(unsigned short event, short val)
if(textspace==0 && textediting==0) {
if(G.qual==LR_CTRLKEY) {
if(okee("Erase all")) {
- if( BIF_read_homefile(0)==0) error("No file ~/.B.blend");
+ if( BIF_read_homefile(0, 1)==0) error("No file ~/.B.blend");
}
return 0;
}