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:
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
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue