Fix T65308: edit studio light state stays active after restarting Blender
This is only temporary for editing, should not be preserved.
This commit is contained in:
parent
acab6f7175
commit
3f23299403
Notes:
blender-bot
2023-10-12 12:49:04 +02:00
Referenced by issue #65308, Studio light editor stays enabled on restart
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue