Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-07-16 11:53:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-16 15:07:53 +0300
commit3d8f8085fb90f239c6b444cf9435cadd6a1b4ed6 (patch)
treec71f801219fd32a6b7787175bc4586fe250034bb /release
parentb882f89fe36614b4ed15b2f1e7915c538f371dd2 (diff)
UI: show connected icon for proportional editing in the image space
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py7
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(