Lights: change sun light size to be specified as angle
[blender.git] / intern / cycles / blender / blender_object.cpp
index 1094ff3..c07e896 100644 (file)
@@ -149,7 +149,7 @@ void BlenderSync::sync_light(BL::Object &b_parent,
     // }
     case BL::Light::type_SUN: {
       BL::SunLight b_sun_light(b_light);
-      light->size = b_sun_light.shadow_soft_size();
+      light->angle = b_sun_light.angle();
       light->type = LIGHT_DISTANT;
       break;
     }