diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-02 06:01:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-02 06:01:48 +0300 |
commit | d46c910b1a105287bccccd651056a9a0a73b3936 (patch) | |
tree | 1058930380845d6c6008eab3f639529a405cc8d3 /source/blender/blenloader | |
parent | afcbf7cf1357723f59eca8e118a0ca9ef6cf6555 (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.c | 2 |
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)); |