diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-02 15:34:57 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-02 15:34:57 +0400 |
commit | c2f18383f9637b61dc58cabacf109acb5bcd65f8 (patch) | |
tree | 85b9218b29153483ab467cd6c0f07a5dfaed5cb2 /release/scripts | |
parent | b0ed43c58160316e490250533c0eb9237a26c9d3 (diff) |
Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index da6318ed39e..0bdc239c408 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -370,10 +370,7 @@ class IMAGE_HT_header(bpy.types.Header): layout.prop(toolsettings, "use_uv_select_sync", text="") if toolsettings.use_uv_select_sync: - row = layout.row(align=True) - row.prop(toolsettings, "mesh_select_mode", text="", index=0, icon='VERTEXSEL') - row.prop(toolsettings, "mesh_select_mode", text="", index=1, icon='EDGESEL') - row.prop(toolsettings, "mesh_select_mode", text="", index=2, icon='FACESEL') + layout.template_edit_mode_selection() else: layout.prop(toolsettings, "uv_select_mode", text="", expand=True) layout.prop(uvedit, "sticky_select_mode", text="", icon_only=True) |