Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Context not available. | |||||
| col = layout.column() | col = layout.column() | ||||
| if light.type in {'POINT', 'SUN', 'SPOT'}: | if light.type in {'POINT', 'SPOT'}: | ||||
| col.prop(light, "shadow_soft_size", text="Size") | col.prop(light, "shadow_soft_size", text="Size") | ||||
| elif light.type == 'SUN': | |||||
| col.prop(clamp, "sun_angle") | |||||
| elif light.type == 'AREA': | elif light.type == 'AREA': | ||||
| col.prop(light, "shape", text="Shape") | col.prop(light, "shape", text="Shape") | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| Context not available. | |||||