Lights: change sun light size to be specified as angle
[blender.git] / source / blender / blenkernel / intern / light.c
index 05b2eb8..1c3acb6 100644 (file)
@@ -80,6 +80,7 @@ void BKE_light_init(Light *la)
   la->contact_thickness = 0.2f;
   la->spec_fac = 1.0f;
   la->att_dist = 40.0f;
+  la->sun_angle = DEG2RADF(0.526f);
 
   curvemapping_initialize(la->curfalloff);
 }