UI: rename Alpha to Opacity
There was a discrepancy between the Tooltip of the Camera's Background Image that controls the opacity of the image and the operator's name that reads Alpha. The tooltip says **"Image opacity to blend the image against the background color"**, so it was renamed to Opacity to follow the tooltip. The decision for this change is that the naming Alpha is not the most appropriated, since it has nothing to do if a loaded image has an embedded Alpha channel or not. {F8540101} Reviewed By: #user_interface, pablovazquez Differential Revision: https://developer.blender.org/D7760
This commit is contained in:
parent
3ea302cf8e
commit
1278657cc2
|
@ -264,7 +264,7 @@ static void rna_def_camera_background_image(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "alpha");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Alpha", "Image opacity to blend the image against the background color");
|
||||
prop, "Opacity", "Image opacity to blend the image against the background color");
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue