I recently changed the lighting in the viewport in the system preferences.

enter image description here

How can I rest the positions of the lights? The Reset to Default Value does not work. it simple sets them all to a top light.

How can I reset the direction of the lamps without restoring factory defaults?

  • $\begingroup$ This is really inconsistent, by having it reset to this, one would think that these are the true defaults and the actual startup has modified values. Perhaps open a ticket? $\endgroup$
    – iKlsR
    Commented Mar 15, 2014 at 0:39
  • $\begingroup$ @iKlsR I will post a bug report $\endgroup$
    – Vader
    Commented Mar 15, 2014 at 1:13
  • $\begingroup$ @Vader This is a known issue, see my answer here. $\endgroup$
    – gandalf3
    Commented Mar 15, 2014 at 18:43

1 Answer 1


You can find the defaults by opening a new instance of blender and loading the defaults (without saving the default.blend) and using python to get the default values:

import bpy

for light in bpy.context.user_preferences.system.solid_lights:

Which will print:

<Vector (-0.8920, 0.3000, 0.9000)>
<Vector (0.5880, 0.4600, 0.2480)>
<Vector (0.2160, -0.3920, -0.2160)>

So to set the light directions to the defaults, run:

import bpy

bpy.context.user_preferences.system.solid_lights[0].direction = (-0.892, 0.3, 0.9)
bpy.context.user_preferences.system.solid_lights[1].direction = (0.5880, 0.4600, 0.2480)
bpy.context.user_preferences.system.solid_lights[2].direction = (0.2160, -0.3920, -0.2160)

Not the answer you're looking for? Browse other questions tagged .