[Bf-blender-cvs] [e5c5e25c681] master: GPencil: Make is_nofill_stroke property editable
Antonio Vazquez
noreply at git.blender.org
Tue May 19 12:25:00 CEST 2020
Commit: e5c5e25c6815568c52cbde7ef8bf5f9f0f048f1a
Author: Antonio Vazquez
Date: Tue May 19 12:24:42 2020 +0200
Branches: master
https://developer.blender.org/rBe5c5e25c6815568c52cbde7ef8bf5f9f0f048f1a
GPencil: Make is_nofill_stroke property editable
This can be used by some add-ons.
===================================================================
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 33bf174be79..5f1ff0d8745 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1187,7 +1187,6 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna)
* (this is a special flag for fill brush). */
prop = RNA_def_property(srna, "is_nofill_stroke", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_STROKE_NOFILL);
- RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "No Fill", "Special stroke to use as boundary for filling areas");
RNA_def_property_update(prop, 0, "rna_GPencil_update");
More information about the Bf-blender-cvs
mailing list