System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.81
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-10-28 18:34, hash: rB7c1fbe24ca33
Short description of error
When part of the geometry is hidden in edit mode, and one is painting in weight Paint mode, the geometry is visible but it is not possible to paint on it.
However, if I set the vertex or face mask modes when weight painting, they do are hidden.
I believe this just creates confusion, if the part of the geometry is hidden in object mode, it should either, hide it also in weight paint mode, or simply allow it to be painted.
Exact steps for others to reproduce the error
1- enter edit mode of an object, select some faces and hide them (H).
2- enter weight paint mode, and you are not able to pain on them, but they are visible.