* Display warning icon for SSS/GPU message.

This commit is contained in:
Thomas Dinges
2013-10-06 12:22:30 +00:00
parent 96f4ee03d4
commit 31db661e1d

View File

@@ -920,7 +920,7 @@ static void node_shader_buts_subsurface(uiLayout *layout, bContext *C, PointerRN
if (scene.data) {
PointerRNA cscene = RNA_pointer_get(&scene, "cycles");
if (cscene.data && RNA_enum_get(&cscene, "device") == 1)
uiItemL(layout, IFACE_("SSS not supported on GPU"), ICON_NONE);
uiItemL(layout, IFACE_("SSS not supported on GPU"), ICON_ERROR);
}
uiItemR(layout, ptr, "falloff", 0, "", ICON_NONE);