Fix T78024: GPencil - Add missing UV Fill prop to RNA

This was changed in the refactor done in 2.83 and was not included by error.
This commit is contained in:
Antonio Vazquez 2020-06-19 10:55:54 +02:00
parent 2dff08c8ce
commit f382109f38
Notes: blender-bot 2023-02-14 05:50:03 +01:00
Referenced by issue #78024, GPencil: Triangle uv's missing in RNA
1 changed files with 6 additions and 0 deletions

View File

@ -1011,6 +1011,12 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "UV Rotation", "Internal UV factor for dot mode");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
prop = RNA_def_property(srna, "uv_fill", PROP_FLOAT, PROP_XYZ);
RNA_def_property_float_sdna(prop, NULL, "uv_fill");
RNA_def_property_array(prop, 2);
RNA_def_property_ui_text(prop, "UV Fill", "Internal UV factor for filling");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
prop = RNA_def_property(srna, "select", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SPOINT_SELECT);
RNA_def_property_boolean_funcs(prop, NULL, "rna_GPencil_stroke_point_select_set");