System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Quadro P5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12
Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: rBa791bdabd0b2
Worked: (newest version of Blender that worked as expected)
Short description of error
When the camera is locked to the viewport, moving the viewport with the MMB moves the camera, as expected. However there is no undo if the user accidentally moves the viewport (which happens all the time).
Exact steps for others to reproduce the error
in the N side-menu check view>Lock>Camera to View
hit 0 to enter camera view in a 3D viewport
rotate the view with the MMB
Undo
Expected: camera goes back to default position
Observed: camera stays in niew position