Workspace switching changed modes w/o the 3D view, causing sculpt undo's poll function to fail. Applied the same logic for texture paint too.
Workspace switching changed modes w/o the 3D view, causing sculpt undo's poll function to fail. Applied the same logic for texture paint too.