**System Information**
Operating system: Win 10
**Blender Version**
Broken: blender-3.4.0, `fc1a53eb7b97`
Worked: blender-3.4.0, `ca172677b1a7`
Caused by {rBefe0e2b18370972c14383e809719c2b606abc414}
**Short description of error**
Undo seems to not be working properly in sculpt mode...
If you perform some brush strokes and then undo (ctr+z), nothing seems to happen..
If you keep pressing (ctr+z) several times it will eventually undo all the brush strokes at once...
(Apparently the undo is happening, but to see the effect in the viewport I'd need to click Rebuild BVH or do something to "refresh" the mesh like performing another brush stroke)
**Exact steps for others to reproduce the error**
Launch Blender
File → New → Sculpting
Perform some brush strokes
Hit ctrl+z (nothing will happen)
If you keep hitting (ctr+z) it will eventually undo all the brush strokes at once...
{F13333564}