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>2010-01-30 04:25:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-30 04:25:02 +0300
commitada9ca9687cb70d02d1a6afebbb865d2080ddf1b (patch)
treefc7e484b6cb99b15a49277a3d728312078c52a9d /release/scripts/ui
parentdd0db63a5c054f888eefc6d685efc4c5cbfcb42c (diff)
[#20487] Small bug in 3d window's header in edit mode.
[#20713] vertex, edge and face toggling acts like shift select (in 2.49) with or without shift pressed revert own changes from 26035 - python buttons were toggles so clicking on 1 didnt disable the others. - for some reason the layout engine wasnt working right here and made the buttons skilly in localview.
Diffstat (limited to 'release/scripts/ui')
-rw-r--r--release/scripts/ui/space_view3d.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py
index f727ec22823..943b07d6af6 100644
--- a/release/scripts/ui/space_view3d.py
+++ b/release/scripts/ui/space_view3d.py
@@ -56,11 +56,15 @@ class VIEW3D_HT_header(bpy.types.Header):
row.template_header_3D()
+ # do in C for now since these buttons cant be both toggle AND exclusive.
+ '''
if obj and obj.mode == 'EDIT' and obj.type == 'MESH':
row_sub = row.row(align=True)
row_sub.prop(toolsettings, "mesh_selection_mode", text="", index=0, icon='VERTEXSEL')
row_sub.prop(toolsettings, "mesh_selection_mode", text="", index=1, icon='EDGESEL')
row_sub.prop(toolsettings, "mesh_selection_mode", text="", index=2, icon='FACESEL')
+ '''
+
# Particle edit
if obj and obj.mode == 'PARTICLE_EDIT':