Merging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code provided by...
[blender-staging.git] / source / blender / render / intern / source / convertblender.c
index d5ac2fa17480fa56069c6d9e37ffc093a53383fe..2baa4d274489b549d68707b4a120eea75ace8229 100644 (file)
@@ -3528,7 +3528,8 @@ static GroupObject *add_render_lamp(Render *re, Object *ob)
                    Normalize(vec);
                    
                        InitSunSky(lar->sunsky, la->atm_turbidity, vec, la->horizon_brightness, 
-                                       la->spread, la->sun_brightness, la->sun_size, la->backscattered_light);
+                                       la->spread, la->sun_brightness, la->sun_size, la->backscattered_light,
+                                          la->skyblendfac, la->skyblendtype);
                        
                        InitAtmosphere(lar->sunsky, la->sun_intensity, 1.0, 1.0, la->atm_inscattering_factor, la->atm_extinction_factor,
                                        la->atm_distance_factor);