[Bf-blender-cvs] [a3cc14c6d53] greasepencil-refactor: GPencil: Change Title for Vertex Color parameters
Antonio Vazquez
noreply at git.blender.org
Wed Jan 22 16:20:49 CET 2020
Commit: a3cc14c6d53accb884a119222a72e5209c3805f6
Author: Antonio Vazquez
Date: Wed Jan 22 16:20:27 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBa3cc14c6d53accb884a119222a72e5209c3805f6
GPencil: Change Title for Vertex Color parameters
===================================================================
M source/blender/makesrna/intern/rna_gpencil.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 706f8ac505f..5ffdeed9118 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -914,14 +914,14 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Select", "Point is selected for viewport editing");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
- /* Mix color. */
+ /* Vertex color. */
prop = RNA_def_property(srna, "vertex_color", PROP_FLOAT, PROP_COLOR);
RNA_def_property_float_sdna(prop, NULL, "vert_color");
RNA_def_property_array(prop, 4);
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(
- prop, "Mix Color", "Color used to mix with point color to get final color");
+ prop, "Vertex Color", "Color used to mix with point color to get final color");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
}
@@ -1170,14 +1170,14 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna)
RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_uv_update");
- /* Mix Vertex Color for Fill. */
+ /* Vertex Color for Fill. */
prop = RNA_def_property(srna, "vertex_color_fill", PROP_FLOAT, PROP_COLOR);
RNA_def_property_float_sdna(prop, NULL, "vert_color_fill");
RNA_def_property_array(prop, 4);
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(
- prop, "Mix Fill Color", "Color used to mix with fill color to get final color");
+ prop, "Vertex Fill Color", "Color used to mix with fill color to get final color");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
}
More information about the Bf-blender-cvs
mailing list