UI: use consistent names and menu organization for blending modes

The Python API is unchanged and remains compatible.

Differential Revision: https://developer.blender.org/D5830
This commit is contained in:
Yevgeny Makarov
2019-10-02 12:57:58 +02:00
committed by Brecht Van Lommel
parent 02877bdf39
commit 97ba7f3c32
4 changed files with 53 additions and 53 deletions

View File

@@ -3986,7 +3986,7 @@ static void def_mix_rgb(StructRNA *srna)
prop = RNA_def_property(srna, "blend_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "custom1");
RNA_def_property_enum_items(prop, rna_enum_ramp_blend_items);
RNA_def_property_ui_text(prop, "Blend Type", "");
RNA_def_property_ui_text(prop, "Blending Mode", "");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "use_alpha", PROP_BOOLEAN, PROP_NONE);