From 6030b08cafdebfa3a386bc12afb172d258d0ee81 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 18 Dec 2012 12:14:14 +0000 Subject: Bug fix, IRC collection. (Fix for recent commit) On saving new files (after loading startup.blend), the user prefs were included. G.fileflags again... --- source/blender/windowmanager/intern/wm_operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager/intern/wm_operators.c') 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"), -- cgit v1.2.3