Fix misleading image color space and alpha tooltips
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 26 May 2019 10:37:51 +0000 (12:37 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 26 May 2019 10:43:47 +0000 (12:43 +0200)
source/blender/makesrna/intern/rna_color.c
source/blender/makesrna/intern/rna_image.c

index 6c4470b19ccd571fd298503dcaa2a475aca60168..30ab591d3c922f98024e42da57c52e53d89b0af0 100644 (file)
@@ -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);
index 7f2eccf421e474e724f8621719272ea743e295ce..d5cefaefbb1ae32fff0b5d1ad413ba7782df02e2 100644 (file)
@@ -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 */