**System Information**
Operating system: Linux-3.10.0-957.10.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.56
**Blender Version**
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-27 01:09, hash: `rBa7f7b0b77e3f`
Broken: version: 2.81 (sub 10), branch: master, commit date: 2019-09-10 22:12, hash: `rB4ce3fbd52ae8`
Worked: 2.79
**Short description of error**
Kinda hard to explain it in the description, but here it is. You paint vertex color via polygons masking, disable the mask, apply dirty vertex color, then change the highlight angle property, the mask enables by itsleft and dirty vertex color applies to the mask, but not the whole object.vertex and weightpaint operators undo more then they should (change back any setting changed prior to execution)
**Exact steps for others to reproduce the error**
Changing highlight angle works fine if you didn't use masking before that.There are multiple scenarios from different reports:
**Exact steps for others to reproduce the error**---
- Enter weight paint
Create Suzanne- Toggle X/Y/Z mirror
Go to vertex- Draw weight paint mode
Enable faces mask- Undo the weight paint
Select a couple of faces- BUG: X/Y/Z mirror are undone
Paint them with some colorThis is true for any setting on the mesh (could be paint mask face/vertex selection as well, but also Auto Smooth Normals for example which is best for testing this in other modes).
Disable faces maskSame does not happen in editmode, Texture Paint and Sculptmode. In these modes, changing a setting does not seem to produce an undo push at all.
Apply dirty vertex colorIn objectmode, changing such setting will create an undo push on its own.
---
- Enter weight paint
- Hide an object (via Outliner)
Go to the last operation dialogue- Draw weight paint
Change- Undo the highlight angle propertyweight paint
- BUG: Hidden object is revealed again
---
Mask enables and dirty vertex color applies to the mask- Create Suzanne
- Go to vertex paint mode
- Enable faces mask
- Select a couple of faces
- Paint them with some color
- Disable faces mask
- Apply dirty vertex color
- Go to the last operation dialogue
- Change the highlight angle property
- BUG: Mask enables and dirty vertex color applies to the mask