forked from bartvdbraak/blender
Cycles / OSL:
* OSL UI message did not show up when device type was GPU, but User Preferences were None. Also remove experimental check, more convenient for testing.
This commit is contained in:
parent
0c0fa7dde6
commit
f7d61831e1
@ -955,7 +955,7 @@ def draw_device(self, context):
|
||||
elif device_type == 'OPENCL' and cscene.feature_set == 'EXPERIMENTAL':
|
||||
layout.prop(cscene, "device")
|
||||
|
||||
if cscene.feature_set == 'EXPERIMENTAL' and cscene.device == 'CPU' and engine.with_osl():
|
||||
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