Cycles / OSL:
* UI fix for "shading_system" property, own fault from r51120
This commit is contained in:
parent
5fab174031
commit
4bcf0358a8
@ -957,7 +957,7 @@ def draw_device(self, context):
|
||||
elif device_type == 'OPENCL' and cscene.feature_set == 'EXPERIMENTAL':
|
||||
layout.prop(cscene, "device")
|
||||
|
||||
if engine.with_osl() and (cscene.device == 'CPU' or device_type == 'None'):
|
||||
if engine.with_osl() and (cscene.device == 'CPU' or device_type == 'NONE'):
|
||||
layout.prop(cscene, "shading_system")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user