[Bf-blender-cvs] [0cfc557c5d2] master: Cycles: Move Shadow Catcher UI option next to Ray Visibility.
Thomas Dinges
noreply at git.blender.org
Mon Mar 27 21:53:10 CEST 2017
Commit: 0cfc557c5d200b572052275f8c92fbfffef49c65
Author: Thomas Dinges
Date: Mon Mar 27 21:51:56 2017 +0200
Branches: master
https://developer.blender.org/rB0cfc557c5d200b572052275f8c92fbfffef49c65
Cycles: Move Shadow Catcher UI option next to Ray Visibility.
Previously it was beneath the Performance UI label, which was incorrect. It's better suited next to Ray Visibility.
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 6136fc1ec06..ca4b3baf8a9 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -786,6 +786,8 @@ class CyclesObject_PT_cycles_settings(CyclesButtonsPanel, Panel):
if ob.type != 'LAMP':
flow.prop(visibility, "shadow")
+ layout.prop(cob, "is_shadow_catcher")
+
col = layout.column()
col.label(text="Performance:")
row = col.row()
@@ -797,9 +799,6 @@ class CyclesObject_PT_cycles_settings(CyclesButtonsPanel, Panel):
sub.active = scene.render.use_simplify and cscene.use_distance_cull
sub.prop(cob, "use_distance_cull")
- col = layout.column()
- col.prop(cob, "is_shadow_catcher")
-
class CYCLES_OT_use_shading_nodes(Operator):
"""Enable nodes on a material, world or lamp"""
More information about the Bf-blender-cvs
mailing list