Cycles: Move Shadow Catcher UI option next to Ray Visibility.
authorThomas Dinges <blender@dingto.org>
Mon, 27 Mar 2017 19:51:56 +0000 (21:51 +0200)
committerThomas Dinges <blender@dingto.org>
Mon, 27 Mar 2017 19:51:56 +0000 (21:51 +0200)
Previously it was beneath the Performance UI label, which was incorrect. It's better suited next to Ray Visibility.

intern/cycles/blender/addon/ui.py

index 6136fc1ec0668cea8a419f4332e6e878dcbb1425..ca4b3baf8a98da0ff362b7aa060c63ea2757b4cc 100644 (file)
@@ -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"""