diff options
Diffstat (limited to 'source/blender/blenkernel/intern/lamp.c')
-rw-r--r-- | source/blender/blenkernel/intern/lamp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/lamp.c b/source/blender/blenkernel/intern/lamp.c index 903b032e080..904dbec24a4 100644 --- a/source/blender/blenkernel/intern/lamp.c +++ b/source/blender/blenkernel/intern/lamp.c @@ -63,14 +63,13 @@ Lamp *BKE_lamp_add(Main *bmain, const char *name) la->r = la->g = la->b = la->k = 1.0f; la->haint = la->energy = 1.0f; la->dist = 25.0f; - la->spotsize = 45.0f; + la->spotsize = DEG2RADF(45.0f); la->spotblend = 0.15f; la->att2 = 1.0f; la->mode = LA_SHAD_BUF; la->bufsize = 512; la->clipsta = 0.5f; la->clipend = 40.0f; - la->shadspotsize = 45.0f; la->samp = 3; la->bias = 1.0f; la->soft = 3.0f; |