* Display warning icon for SSS/GPU message.
authorThomas Dinges <blender@dingto.org>
Sun, 6 Oct 2013 12:22:30 +0000 (12:22 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 6 Oct 2013 12:22:30 +0000 (12:22 +0000)
source/blender/editors/space_node/drawnode.c

index ec5e1ceeb1aa4bc674a5ab7d003733020287f13a..a767fb4d3f34540a34040a6ce21fd2277a0f3c81 100644 (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);