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 /release/scripts/startup/bl_ui/properties_data_modifier.py | |
parent | 12c49d05c655116529e8c08e7d4f6b40d186393a (diff) |
Cleanup: use standard prefix for boolean settings
Avoid using 'add' as a prefix, it reads like a method.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_modifier.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 843ab79a639..3e7dce6d34c 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -1652,10 +1652,10 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel): row = layout.row(align=True) row.label(text="Affect:") row = layout.row(align=True) - row.prop(md, "affect_position", text="Position", icon='MESH_DATA', toggle=True) - row.prop(md, "affect_strength", text="Strength", icon='COLOR', toggle=True) - row.prop(md, "affect_thickness", text="Thickness", icon='LINE_DATA', toggle=True) - row.prop(md, "affect_uv", text="UV", icon='MOD_UVPROJECT', toggle=True) + row.prop(md, "use_edit_position", text="Position", icon='MESH_DATA', toggle=True) + row.prop(md, "use_edit_strength", text="Strength", icon='COLOR', toggle=True) + row.prop(md, "use_edit_thickness", text="Thickness", icon='LINE_DATA', toggle=True) + row.prop(md, "use_edit_uv", text="UV", icon='MOD_UVPROJECT', toggle=True) def GP_SMOOTH(self, layout, ob, md): gpd = ob.data @@ -1683,10 +1683,10 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel): row = layout.row(align=True) row.label(text="Affect:") row = layout.row(align=True) - row.prop(md, "affect_position", text="Position", icon='MESH_DATA', toggle=True) - row.prop(md, "affect_strength", text="Strength", icon='COLOR', toggle=True) - row.prop(md, "affect_thickness", text="Thickness", icon='LINE_DATA', toggle=True) - row.prop(md, "affect_uv", text="UV", icon='MOD_UVPROJECT', toggle=True) + row.prop(md, "use_edit_position", text="Position", icon='MESH_DATA', toggle=True) + row.prop(md, "use_edit_strength", text="Strength", icon='COLOR', toggle=True) + row.prop(md, "use_edit_thickness", text="Thickness", icon='LINE_DATA', toggle=True) + row.prop(md, "use_edit_uv", text="UV", icon='MOD_UVPROJECT', toggle=True) def GP_SUBDIV(self, layout, ob, md): gpd = ob.data |