Cycles / OSL:

* UI fix for "shading_system" property, own fault from r51120
This commit is contained in:
Thomas Dinges 2012-11-09 22:01:37 +00:00
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")