diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-29 04:24:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-29 06:31:53 +0300 |
commit | 34b213d60472e139897395a84e0fff40b82a4a0b (patch) | |
tree | e8d6c2e1370b8e2adc571eb20937aae2a91715c1 /source/blender/makesrna | |
parent | c109a399959a975cc2a83f83ec9874dd0c9d2581 (diff) |
Cleanup: use "use_" prefix for boolean types
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 7c5c6d26bd6..1fc4923d894 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -701,7 +701,7 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna) RNA_def_property_ui_text(prop, "UV Factor", "Amount of noise to apply uv rotation"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "random", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_random", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_USE_RANDOM); RNA_def_property_ui_text(prop, "Random", "Use random values over time"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); |