**System Information**
Operating system: Win 10
**Blender Version**
Broken: blender-3.4.0-alpha+master.ddfce277e0cb-windows.amd64-release
Caused by {rBb5f7af31d6d474c3b455bacda079969fde7c0962}
**Short description of error**
Some operators like Fill Mask or Invert Mask are not not respecting the visibility state of the mesh... So if you have some parts of the mesh hidden and then run some of those commands, it will apply the mask to the entire mesh, instead of just the visible part...
**Exact steps for others to reproduce the error**
File/New/Sculpting
Choose the Box Hide tool for example
Hide part of the mesh
Go to the Mask menu and choose Fill Mask
Unhide everything (Sculpt menu/Show All)
As you can see, the mask was applied to the entire mesh, instead of just the visible part
{F13486864}
Actually, it seems a lot more functionality is broken, I assume everything that uses `BKE_pbvh_vertex_iter_begin`
(tested e.g. Color Filters: broken in regards to respecting hidden polys...)
So it seems this is just using the Box Hide tool not flushing this to the right places?
`PBVH` `hide_vert` just does not exist after Box Hide, going in and out of editmode then fixes this (could be used as a temporary workaround)