Merging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code provided by...
[blender-staging.git] / source / blender / blenkernel / intern / object.c
index 79be7dbf4603241963db1a05fd776bfa2fce0e7e..5d352c1e11db51f4aeb7a4cb61ab3383c838ee5c 100644 (file)
@@ -747,6 +747,9 @@ void *add_lamp(char *name)
        la->atm_extinction_factor = 1.0;
        la->atm_distance_factor = 1.0;
        la->sun_intensity = 1.0;
+       la->skyblendtype= MA_RAMP_ADD;
+       la->skyblendfac= 1.0f;
+
        curvemapping_initialize(la->curfalloff);
        return la;
 }