Edit Mesh: Fix buggy occlusion when in xray mode.
authorClément Foucault <foucault.clem@gmail.com>
Sun, 17 Jun 2018 18:11:23 +0000 (20:11 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Sun, 17 Jun 2018 18:11:37 +0000 (20:11 +0200)
commit195879a50d6b058d78ff6228d8eda159c7abead3
tree967e0aaeeda742e90d6f9610e3685c9656b86e2c
parent06a1a66a9b6f120867d3bbebe3928744ec8e3495
Edit Mesh: Fix buggy occlusion when in xray mode.

This mimics the behaviour of the old wireframe mode. When in Xray mode,
don't use the limit selection to visible option.

Also hide the option if Xray is enabled.
release/scripts/startup/bl_ui/space_view3d.py
source/blender/draw/modes/edit_mesh_mode.c