Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-05-17 16:23:21 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-05-22 15:55:50 +0300
commitff19b527e85ec5144efbd663bf9b4c338e179358 (patch)
tree397303e299a17352e48cad3fcc7757b2d68c4538 /release
parentc7df6182631ffe22aea1357c2f356c30c0d40dc5 (diff)
Workbench: Calculate irradiance using radiance buffers
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index f20e9021e28..6bf10231be5 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3515,12 +3515,11 @@ class VIEW3D_PT_shading(Panel):
col.separator()
- if not(shading.light == 'STUDIO' and shading.studio_light_orientation == 'WORLD'):
- row = col.row()
- row.prop(shading, "show_shadows")
- sub = row.row()
- sub.active = shading.show_shadows
- sub.prop(shading, "shadow_intensity", text="")
+ row = col.row()
+ row.prop(shading, "show_shadows")
+ sub = row.row()
+ sub.active = shading.show_shadows
+ sub.prop(shading, "shadow_intensity", text="")
col.prop(shading, "show_object_outline")