diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:01:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:09:00 +0300 |
commit | c0a563ffe814f227411f6b6ce6276a780245ccea (patch) | |
tree | 5d884f48da3e9d26ea3cdf0bbb405ce9a0367b6e /source/blender/makesrna/intern/rna_gpencil_modifier.c | |
parent | e9a663865473db06941063b8ce75d6ff4b3d0884 (diff) |
Cleanup: use 'use_' prefix for RNA booleans
Some of the naming was quite misleading.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 9519e3e1433..6a2d3805fa5 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -1876,19 +1876,19 @@ static void rna_def_modifier_gpencilmirror(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Clip", "Clip points"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "x_axis", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_axis_x", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_MIRROR_AXIS_X); - RNA_def_property_ui_text(prop, "X", "Mirror this axis"); + RNA_def_property_ui_text(prop, "X", "Mirror the X axis"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "y_axis", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_axis_y", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_MIRROR_AXIS_Y); - RNA_def_property_ui_text(prop, "Y", "Mirror this axis"); + RNA_def_property_ui_text(prop, "Y", "Mirror the Y axis"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "z_axis", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_axis_z", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_MIRROR_AXIS_Z); - RNA_def_property_ui_text(prop, "Z", "Mirror this axis"); + RNA_def_property_ui_text(prop, "Z", "Mirror the Z axis"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); } |