System Information
Operating system: Linux
Graphics card: Intel
Blender Version
Broken: 2.91.0-a509e79a4c77-linux64
Worked: 2.80 - Xray was not changed when switching modes there
Short description of error
When in weight-paint mode, with select vertices enabled, the "Toggle X-ray" button in the upper right corner is ignored, does not allow to select vertices through the object (on both sides). But instead, if you switch to the edit mode, enable the x-ray mode, and then switch back to the weight-paint mode, then the vertex selection through object is turned on correctly. So oddly enough, the weight-paint mode x-ray is controlled from edit mode, ignoring its own x-ray toggle button.
Steps to reproduce
- Open file
- Toggle X-ray mode
