remove vertex selection check for weight paint mode so you can paint through the mesh.

also made the wire draw without depth masking when the depth check is off, similar to mesh editmode drawing, nice hint about whats going on.
This commit is contained in:
2013-01-01 11:47:47 +00:00
parent b79ec3ac2e
commit e4f65749f9
3 changed files with 22 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ class VIEW3D_HT_header(Header):
# Occlude geometry
if ((view.viewport_shade not in {'BOUNDBOX', 'WIREFRAME'} and (mode == 'PARTICLE_EDIT' or (mode == 'EDIT' and obj.type == 'MESH'))) or
(mode == 'WEIGHT_PAINT' and obj.data.use_paint_mask_vertex)):
(mode == 'WEIGHT_PAINT')):
row.prop(view, "use_occlude_geometry", text="")
# Proportional editing