Cycles: Don't gray out integrator settings when userprefs are set to OpenCL but scene is set to CPU
This commit is contained in:
@@ -151,7 +151,7 @@ class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel):
|
||||
|
||||
row = layout.row()
|
||||
sub = row.row()
|
||||
sub.active = device_type != 'OPENCL'
|
||||
sub.active = device_type != 'OPENCL' or use_cpu(context)
|
||||
sub.prop(cscene, "progressive", text="")
|
||||
row.prop(cscene, "use_square_samples")
|
||||
|
||||
|
Reference in New Issue
Block a user