diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-01 04:56:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-01 05:00:08 +0300 |
commit | 1f2c4f8809aab37d04ee0c571c33466643e103b6 (patch) | |
tree | dd46ee9cc319d2ac6e29b1eedbfa9d0d5a3a9b9e /source/blender/makesrna/intern/rna_gpencil_modifier.c | |
parent | 12c49d05c655116529e8c08e7d4f6b40d186393a (diff) |
Cleanup: use standard prefix for boolean settings
Avoid using 'add' as a prefix, it reads like a method.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index b45ef341187..cb4e4b7ca02 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -304,22 +304,22 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Random", "Use random values"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_position", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_position", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_MOD_LOCATION); RNA_def_property_ui_text(prop, "Affect Position", "The modifier affects the position of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_strength", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_strength", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_MOD_STRENGTH); RNA_def_property_ui_text(prop, "Affect Strength", "The modifier affects the color strength of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_thickness", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_thickness", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_MOD_THICKNESS); RNA_def_property_ui_text(prop, "Affect Thickness", "The modifier affects the thickness of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_uv", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_uv", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_MOD_UV); RNA_def_property_ui_text(prop, "Affect UV", "The modifier affects the UV rotation factor of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); @@ -389,22 +389,22 @@ static void rna_def_modifier_gpencilsmooth(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Factor", "Amount of smooth to apply"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_position", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_position", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SMOOTH_MOD_LOCATION); RNA_def_property_ui_text(prop, "Affect Position", "The modifier affects the position of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_strength", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_strength", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SMOOTH_MOD_STRENGTH); RNA_def_property_ui_text(prop, "Affect Strength", "The modifier affects the color strength of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_thickness", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_thickness", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SMOOTH_MOD_THICKNESS); RNA_def_property_ui_text(prop, "Affect Thickness", "The modifier affects the thickness of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "affect_uv", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_edit_uv", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SMOOTH_MOD_UV); RNA_def_property_ui_text(prop, "Affect UV", "The modifier affects the UV rotation factor of the point"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); |