diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-30 06:42:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-30 07:48:39 +0300 |
commit | e83d4d963766487919edb8858de0020ef2c3cfe8 (patch) | |
tree | 71e6c2b81ad7d7b349afc0b6c1e75e2eccb2373d /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 95a9646c00a1cbf727f24c506c4aeffe99016352 (diff) |
UI: reorganize proportional editing options
- Move connected & projected into individual toggles.
- Top-level proportional editing button now only toggles.
- Use popover for proportional edit-mode falloff and options.
Note that it's no longer possible to toggle connected via key bindings,
although this could be supported again if it's needed.
Resolves T58081
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 14c616d14d5..734828bceaa 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -386,7 +386,7 @@ class GPENCIL_MT_pie_tool_palette(Menu): row.operator("transform.resize", text="Scale", icon='MAN_SCALE') row = col.row(align=True) row.label(text="Proportional Edit:") - row.prop(context.tool_settings, "proportional_edit", text="", icon_only=True) + row.prop(context.tool_settings, "use_proportional_edit", text="", icon_only=True) row.prop(context.tool_settings, "proportional_edit_falloff", text="", icon_only=True) # NW - Select (Non-Modal) @@ -808,7 +808,7 @@ class GreasePencilToolsPanel: layout.label(text="Proportional Edit:") row = layout.row() - row.prop(context.tool_settings, "proportional_edit", text="") + row.prop(context.tool_settings, "use_proportional_edit", text="") row.prop(context.tool_settings, "proportional_edit_falloff", text="") layout.separator() |