Fix misleading image color space and alpha tooltips

This commit is contained in:
Brecht Van Lommel 2019-05-26 12:37:51 +02:00
parent 909b0ac16c
commit 66ec6c1f50
2 changed files with 8 additions and 3 deletions

View 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);

View 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 */