forked from bartvdbraak/blender
Fix T50460. Greying out issue with Cycles culling options.
This commit is contained in:
parent
05ff32bd25
commit
ff1b850081
@ -787,10 +787,13 @@ class CyclesObject_PT_cycles_settings(CyclesButtonsPanel, Panel):
|
|||||||
col = layout.column()
|
col = layout.column()
|
||||||
col.label(text="Performance:")
|
col.label(text="Performance:")
|
||||||
row = col.row()
|
row = col.row()
|
||||||
row.active = scene.render.use_simplify and cscene.use_camera_cull
|
sub = row.row()
|
||||||
row.prop(cob, "use_camera_cull")
|
sub.active = scene.render.use_simplify and cscene.use_camera_cull
|
||||||
row.active = scene.render.use_simplify and cscene.use_distance_cull
|
sub.prop(cob, "use_camera_cull")
|
||||||
row.prop(cob, "use_distance_cull")
|
|
||||||
|
sub = row.row()
|
||||||
|
sub.active = scene.render.use_simplify and cscene.use_distance_cull
|
||||||
|
sub.prop(cob, "use_distance_cull")
|
||||||
|
|
||||||
|
|
||||||
class CYCLES_OT_use_shading_nodes(Operator):
|
class CYCLES_OT_use_shading_nodes(Operator):
|
||||||
|
Loading…
Reference in New Issue
Block a user