mango request - add alpha to histogram & sample line.
[blender.git] / source / blender / makesrna / intern / rna_color.c
index bd0e6c36c48ff06532359c9ddccf75786bafbe91..ce0b396caf7fc19af1ab866e7ada98a04b131dc3 100644 (file)
@@ -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");