After undo, a depsgraph update could free run-time modifier data. In the case of the subsurf modifier a reference to this is held in the meshes run-time data which also needs to be cleared.
After undo, a depsgraph update could free run-time modifier data. In the case of the subsurf modifier a reference to this is held in the meshes run-time data which also needs to be cleared.