From c0a563ffe814f227411f6b6ce6276a780245ccea Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 30 Sep 2020 15:01:12 +1000 Subject: Cleanup: use 'use_' prefix for RNA booleans Some of the naming was quite misleading. --- source/blender/makesrna/intern/rna_gpencil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 9bcf2b81557..f8bc5c06963 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -1200,7 +1200,7 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_GPencil_update"); /* Cyclic: Draw a line from end to start point */ - prop = RNA_def_property(srna, "draw_cyclic", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_cyclic", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_STROKE_CYCLIC); RNA_def_property_ui_text(prop, "Cyclic", "Enable cyclic drawing, closing the stroke"); RNA_def_property_update(prop, 0, "rna_GPencil_update"); -- cgit v1.2.3