diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-02-24 00:00:42 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-02-24 00:00:42 +0300 |
commit | 7c830b75f160db4de8c415dcf1c0b3bf554a4821 (patch) | |
tree | 4892c025ae6bffdb20fb81213ba57f538a4b2e53 /source/blender/src/usiblender.c | |
parent | e25318ebefb4dd34443430ab0b7408d3a6118b3d (diff) | |
parent | 334da0fa57195af65c2877ee2882714efe5431f9 (diff) |
merging trunk 17520:19093
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r-- | source/blender/src/usiblender.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index e3f153a64b6..da331ea2df2 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -668,6 +668,12 @@ int BIF_read_homefile(int from_memory) success = BKE_read_file_from_memory(datatoc_B_blend, datatoc_B_blend_size, NULL); /* outliner patch for 2.42 .b.blend */ outliner_242_patch(); + + /* When loading factory settings, the reset solid OpenGL lights need to be applied. */ + U.light[0].flag=0; + U.light[1].flag=0; + U.light[2].flag=0; + GPU_default_lights(); } BLI_clean(scestr); |