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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-02 15:34:57 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-02 15:34:57 +0400
commitc2f18383f9637b61dc58cabacf109acb5bcd65f8 (patch)
tree85b9218b29153483ab467cd6c0f07a5dfaed5cb2 /release/scripts
parentb0ed43c58160316e490250533c0eb9237a26c9d3 (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.py5
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)