diff options
Diffstat (limited to 'release/scripts/ui/properties_data_lamp.py')
-rw-r--r-- | release/scripts/ui/properties_data_lamp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_data_lamp.py b/release/scripts/ui/properties_data_lamp.py index d13d75da746..bb1bb4ca146 100644 --- a/release/scripts/ui/properties_data_lamp.py +++ b/release/scripts/ui/properties_data_lamp.py @@ -21,6 +21,7 @@ import bpy narrowui = 180 + class DataButtonsPanel(bpy.types.Panel): bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' @@ -229,7 +230,7 @@ class DATA_PT_shadow(DataButtonsPanel): split = layout.split() col = split.column() - + if lamp.shape == 'SQUARE': col.itemR(lamp, "shadow_ray_samples_x", text="Samples") elif lamp.shape == 'RECTANGLE': @@ -250,7 +251,7 @@ class DATA_PT_shadow(DataButtonsPanel): else: if col2: col = split.column() - + elif lamp.shadow_method == 'BUFFER_SHADOW': col = layout.column() |