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>2019-02-02 06:01:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-02 06:01:48 +0300
commitd46c910b1a105287bccccd651056a9a0a73b3936 (patch)
tree1058930380845d6c6008eab3f639529a405cc8d3 /source/blender/blenloader
parentafcbf7cf1357723f59eca8e118a0ca9ef6cf6555 (diff)
Cleanup: match logic for merging G.f & G.fileflags on load
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 526f9a7390e..df5713f3282 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -3782,7 +3782,7 @@ static void write_global(WriteData *wd, int fileflags, Main *mainvar)
fg.cur_view_layer = view_layer;
/* prevent to save this, is not good convention, and feature with concerns... */
- fg.fileflags = (fileflags & ~G_FILE_FLAGS_RUNTIME);
+ fg.fileflags = (fileflags & ~G_FILE_FLAG_ALL_RUNTIME);
fg.globalf = G.f;
BLI_strncpy(fg.filename, mainvar->name, sizeof(fg.filename));