Merged changes in the trunk up to revision 52815.
[blender-staging.git] / source / blender / makesrna / intern / rna_space.c
index 2aa907b72f2725d5c9cb645ebf4ebabeea7e879f..c928e91ea1f27c82106a85434b6900bf66a879a5 100644 (file)
@@ -2977,10 +2977,9 @@ static void rna_def_space_node(BlenderRNA *brna)
                {SNODE_USE_ALPHA, "COLOR_ALPHA", ICON_IMAGE_RGB_ALPHA, "Color and Alpha",
                                  "Draw image with RGB colors and alpha transparency"},
                {SNODE_SHOW_ALPHA, "ALPHA", ICON_IMAGE_ALPHA, "Alpha", "Draw alpha transparency channel"},
-                                       /* XXX, we could use better icons here  */
-               {SNODE_SHOW_R, "RED",   ICON_COLOR, "Red", ""},
-               {SNODE_SHOW_G, "GREEN", ICON_COLOR, "Green", ""},
-               {SNODE_SHOW_B, "BLUE",  ICON_COLOR, "Blue", ""},
+               {SNODE_SHOW_R, "RED",   ICON_COLOR_RED, "Red", ""},
+               {SNODE_SHOW_G, "GREEN", ICON_COLOR_GREEN, "Green", ""},
+               {SNODE_SHOW_B, "BLUE",  ICON_COLOR_BLUE, "Blue", ""},
                {0, NULL, 0, NULL, NULL}
        };