diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-16 05:46:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-16 05:46:00 +0300 |
commit | 18d18b5a986724d43f45bac63a98400741e8e12a (patch) | |
tree | ca8f8a5cd12adac5c8a2dcbc975dbb6a67971471 /release/scripts/startup/bl_ui | |
parent | a0ad8c57ef7da7ee21b3c2352057cf78b60000ae (diff) |
UV: move sticky selection from image space into tool settings
Having this setting stored in the image space caused low level selection
logic to have to pass around the image space (which could be NULL
in some cases). Use the tool-settings instead since there doesn't seem
to be much/any advantage in having this setting per-space.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 16e3f32e88a..5b840fae341 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -780,7 +780,7 @@ class IMAGE_HT_header(Header): layout.template_edit_mode_selection() else: layout.prop(tool_settings, "uv_select_mode", text="", expand=True) - layout.prop(uvedit, "sticky_select_mode", icon_only=True) + layout.prop(tool_settings, "uv_sticky_select_mode", icon_only=True) IMAGE_MT_editor_menus.draw_collapsible(context, layout) |