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-06-10 16:33:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-10 16:33:27 +0400
commit219eca0f515f9a54953566539520fde37f2ea13b (patch)
tree55032be25b32e59e4281aeb67660e5b48ec861ee /source/blender/makesrna/intern/rna_color.c
parentc27472c04ef294a1de6ab9804c3b87f5635a8fcd (diff)
mango request - add alpha to histogram & sample line.
Diffstat (limited to 'source/blender/makesrna/intern/rna_color.c')
-rw-r--r--source/blender/makesrna/intern/rna_color.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c
index bd0e6c36c48..ce0b396caf7 100644
--- a/source/blender/makesrna/intern/rna_color.c
+++ b/source/blender/makesrna/intern/rna_color.c
@@ -575,9 +575,10 @@ static void rna_def_histogram(BlenderRNA *brna)
{HISTO_MODE_R, "R", 0, "R", "Red"},
{HISTO_MODE_G, "G", 0, "G", "Green"},
{HISTO_MODE_B, "B", 0, "B", "Blue"},
+ {HISTO_MODE_ALPHA, "A", 0, "A", "Alpha"},
{0, NULL, 0, NULL, NULL}
};
-
+
srna = RNA_def_struct(brna, "Histogram", NULL);
RNA_def_struct_ui_text(srna, "Histogram", "Statistical view of the levels of color in an image");