diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-18 16:14:14 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-18 16:14:14 +0400 |
commit | 6030b08cafdebfa3a386bc12afb172d258d0ee81 (patch) | |
tree | 78d99e021f3663840ecd9354b899019ec2cb5d9c | |
parent | 9046c292f80552f0733411db886b1c092fd44ed4 (diff) |
Bug fix, IRC collection. (Fix for recent commit)
On saving new files (after loading startup.blend), the user prefs were included.
G.fileflags again...
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 469845ec2bc..b16eed9df2c 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2166,7 +2166,7 @@ static int wm_save_as_mainfile_exec(bContext *C, wmOperator *op) untitled(path); } - fileflags = G.fileflags; + fileflags = G.fileflags & ~G_FILE_USERPREFS; /* set compression flag */ BKE_BIT_TEST_SET(fileflags, RNA_boolean_get(op->ptr, "compress"), |