remove vertex selection check for weight paint mode so you can paint `through` the...
[blender.git] / release / scripts / startup / bl_ui / space_view3d.py
index d2183b80476ef6759662c23fa83aa90777facb9c..8189ee21bc8b2fbc498f5b0231787a040557293a 100644 (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