[Bf-blender-cvs] [f382109f388] master: Fix T78024: GPencil - Add missing UV Fill prop to RNA
Antonio Vazquez
noreply at git.blender.org
Fri Jun 19 10:56:14 CEST 2020
Commit: f382109f3885fc48d7becc526796d3324ab0aa42
Author: Antonio Vazquez
Date: Fri Jun 19 10:55:54 2020 +0200
Branches: master
https://developer.blender.org/rBf382109f3885fc48d7becc526796d3324ab0aa42
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.
===================================================================
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 c707ad9b84e..c8d16ab65cc 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -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");
More information about the Bf-blender-cvs
mailing list