From 66ec6c1f50d2629ec6b120b1bde07c73ddd0824d Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 26 May 2019 12:37:51 +0200 Subject: Fix misleading image color space and alpha tooltips --- source/blender/makesrna/intern/rna_color.c | 5 ++++- source/blender/makesrna/intern/rna_image.c | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index 6c4470b19cc..30ab591d3c9 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -1249,7 +1249,10 @@ static void rna_def_colormanage(BlenderRNA *brna) "rna_ColorManagedColorspaceSettings_colorspace_get", "rna_ColorManagedColorspaceSettings_colorspace_set", "rna_ColorManagedColorspaceSettings_colorspace_itemf"); - RNA_def_property_ui_text(prop, "Input Color Space", "Color space of the image or movie on disk"); + RNA_def_property_ui_text( + prop, + "Input Color Space", + "Color space in the image file, to convert to and from when saving and loading the image"); RNA_def_property_update(prop, NC_WINDOW, "rna_ColorManagedColorspaceSettings_reload_update"); prop = RNA_def_property(srna, "is_data", PROP_BOOLEAN, PROP_NONE); diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 7f2eccf421e..d5cefaefbb1 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -918,8 +918,10 @@ static void rna_def_image(BlenderRNA *brna) prop = RNA_def_property(srna, "alpha_mode", PROP_ENUM, PROP_NONE); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); RNA_def_property_enum_items(prop, alpha_mode_items); - RNA_def_property_ui_text( - prop, "Alpha Mode", "Representation of alpha information in the RGBA pixels"); + RNA_def_property_ui_text(prop, + "Alpha Mode", + "Representation of alpha in the image file, to convert to and from " + "when saving and loading the image"); RNA_def_property_update(prop, NC_IMAGE | ND_DISPLAY, "rna_Image_colormanage_update"); /* multiview */ -- cgit v1.2.3