diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-30 18:52:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-30 18:52:30 +0400 |
commit | 144534eda85253d52cc70ba8a0b3e732e1585e4d (patch) | |
tree | e2e1f9e1e00a805667d93e7e1bad509a07a20c67 | |
parent | 80ca8f27925c53a415b202e76767e4d2dac1960e (diff) |
Fix #31180: limit selection to visible button in 3d header not showing up in
material draw mode.
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index ff9484e6baf..b1b9742e16a 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -69,7 +69,7 @@ class VIEW3D_HT_header(Header): row.prop(toolsettings.particle_edit, "select_mode", text="", expand=True) # Occlude geometry - if view.viewport_shade in {'SOLID', 'SHADED', 'TEXTURED'} and (obj.mode == 'PARTICLE_EDIT' or (obj.mode == 'EDIT' and obj.type == 'MESH')): + if view.viewport_shade not in {'BOUNDBOX', 'WIREFRAME'} and (obj.mode == 'PARTICLE_EDIT' or (obj.mode == 'EDIT' and obj.type == 'MESH')): row.prop(view, "use_occlude_geometry", text="") # Proportional editing |