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:
authorTon Roosendaal <ton@blender.org>2009-02-07 14:04:13 +0300
committerTon Roosendaal <ton@blender.org>2009-02-07 14:04:13 +0300
commitdf048070ece4422f5d45b73cbaa80bdf7dd5a8bd (patch)
treefc1df4d27ba3fb43b27e9ac8a6e957f6d718e5e6 /source/blender
parent2a638fa3cd60640bb1d5da40fe94214c81945e02 (diff)
2.5
Hrmf; the patch provided for setting UserDef opengl lights didnt even work. It was setting flags zero, which just disabled any saved light.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 7c330843a07..4ff549c06da 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -584,9 +584,6 @@ int WM_read_homefile(bContext *C, wmOperator *op)
init_userdef_themes();
/* 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();
/* XXX */