Cycles: Better feedback about experimental features being used

Instead of having a label which basically duplicated the information
about experimental feature set being used (which had a bug because
it claimed experimental GPU kernel is used even if compute device is
CPU btw) now we've got an enum item icon.

So once you switched to experimental feature set you'll see an
exclamation mark icon in the enum, so you know something might be
unstable or slow.
This commit is contained in:
Sergey Sharybin 2014-09-26 01:02:28 +06:00
parent faf4f29cc0
commit 4735fdc280
2 changed files with 1 additions and 4 deletions

@ -37,7 +37,7 @@ if _cycles.with_network:
enum_feature_set = (
('SUPPORTED', "Supported", "Only use finished and supported features"),
('EXPERIMENTAL', "Experimental", "Use experimental and incomplete features that might be broken or change in the future"),
('EXPERIMENTAL', "Experimental", "Use experimental and incomplete features that might be broken or change in the future", 'ERROR', 1),
)
enum_displacement_methods = (

@ -1357,9 +1357,6 @@ def draw_device(self, context):
if engine.with_osl() and use_cpu(context):
layout.prop(cscene, "shading_system")
if device_type == 'CUDA' and cscene.feature_set == 'EXPERIMENTAL':
layout.label(text="Using experimental GPU kernel", icon='ERROR')
def draw_pause(self, context):