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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-31 19:09:38 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-31 19:17:19 +0300
commit3f23299403d4f20fa5c8ef799bde940d0c291228 (patch)
tree326117d26e67fd5c24dece5562a8822b3b573e78 /source/blender/blenloader
parentacab6f717504a1e9c6d3010ca5c09e608d3c6312 (diff)
Fix T65308: edit studio light state stays active after restarting Blender
This is only temporary for editing, should not be preserved.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 3127540b837..d110af60a83 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9593,6 +9593,7 @@ static BHead *read_userdef(BlendFileData *bfd, FileData *fd, BHead *bhead)
/* Clear runtime data. */
user->runtime.is_dirty = false;
+ user->edit_studio_light = 0;
/* free fd->datamap again */
oldnewmap_free_unused(fd->datamap);