diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-21 16:03:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-21 16:03:24 +0300 |
commit | 8a8c61190b0673ccfa20727fd8ea0f07f050fd14 (patch) | |
tree | 1931f0cb31920845b27cb508276c729a03e19762 /source/blender | |
parent | 376b69cbff111b14b5fe0392fee408809b0387c4 (diff) |
Docs: note that the color-ramp uses image alpha
Avoid misunderstanding from T59110
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_texture.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c index 46b8d8647de..9184c54ae88 100644 --- a/source/blender/makesrna/intern/rna_texture.c +++ b/source/blender/makesrna/intern/rna_texture.c @@ -1565,7 +1565,11 @@ static void rna_def_texture(BlenderRNA *brna) prop = RNA_def_property(srna, "use_color_ramp", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", TEX_COLORBAND); RNA_def_property_boolean_funcs(prop, NULL, "rna_Texture_use_color_ramp_set"); - RNA_def_property_ui_text(prop, "Use Color Ramp", "Toggle color ramp operations"); + RNA_def_property_ui_text(prop, + "Use Color Ramp", + "Map the texture intensity to the color ramp. " + "Note that the alpha value is used for image textures, " + "enable \"Calculate Alpha\" for images without an alpha channel"); RNA_def_property_update(prop, 0, "rna_Texture_update"); prop = RNA_def_property(srna, "color_ramp", PROP_POINTER, PROP_NEVER_NULL); |