Lights: change sun light size to be specified as angle
[blender.git] / intern / cycles / blender / addon / ui.py
index 9714067..5ff8836 100644 (file)
@@ -1345,8 +1345,10 @@ class CYCLES_LIGHT_PT_light(CyclesButtonsPanel, Panel):
         col.prop(light, "energy")
         col.separator()
 
-        if light.type in {'POINT', 'SUN', 'SPOT'}:
+        if light.type in {'POINT', 'SPOT'}:
             col.prop(light, "shadow_soft_size", text="Size")
+        elif light.type == 'SUN':
+            col.prop(light, "angle")
         elif light.type == 'AREA':
             col.prop(light, "shape", text="Shape")
             sub = col.column(align=True)