Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/blender_object.cpp
| Context not available. | |||||
| // break; | // break; | ||||
| // } | // } | ||||
| case BL::Light::type_SUN: { | case BL::Light::type_SUN: { | ||||
| PointerRNA clamp = RNA_pointer_get(&b_light.ptr, "cycles"); | |||||
| light->sun_angle = get_float(clamp, "sun_angle"); | |||||
| BL::SunLight b_sun_light(b_light); | BL::SunLight b_sun_light(b_light); | ||||
| light->size = b_sun_light.shadow_soft_size(); | light->size = b_sun_light.shadow_soft_size(); | ||||
| light->type = LIGHT_DISTANT; | light->type = LIGHT_DISTANT; | ||||
| Context not available. | |||||