diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-16 11:53:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-16 15:07:53 +0300 |
commit | 3d8f8085fb90f239c6b444cf9435cadd6a1b4ed6 (patch) | |
tree | c71f801219fd32a6b7787175bc4586fe250034bb /release/scripts/startup | |
parent | b882f89fe36614b4ed15b2f1e7915c538f371dd2 (diff) |
UI: show connected icon for proportional editing in the image space
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 651866cf316..75c1bb5e3f9 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -699,7 +699,12 @@ class IMAGE_HT_header(Header): # Proportional Editing row = layout.row(align=True) - row.prop(tool_settings, "use_proportional_edit", icon_only=True) + row.prop( + tool_settings, + "use_proportional_edit", + icon_only=True, + icon='PROP_CON' if tool_settings.use_proportional_connected else 'PROP_ON', + ) sub = row.row(align=True) sub.active = tool_settings.use_proportional_edit sub.prop_with_popover( |