Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-03 17:01:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-03 17:01:07 +0400
commit4f3fdb8d5a4a3b01de3c3660f6111cf911d9569f (patch)
tree65a7f6f6c93e826e8ccd86afe6f4d94be3a7dd96 /source/blender/makesrna/intern/rna_space.c
parent41f98978e3430a7d38684d49891505bb954375aa (diff)
R/G/B icons in node space backgroud channel selector all had same color wheel icon which didnt make much sense.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index caa81dafa0e..2b2e8d97499 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2976,10 +2976,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}
};