Hi Jörg, I tested over here and it was working fine for me.
I think the issue is that you're probably using Options > View > Rotate/Pan/Zoom options > Rotation style = "Free rotation" instead of "Rotate around world z axis" mode.
Currently this ViewManager script only saves and restores a camera and a target point, it does not save or restore the "up" direction that defines the view's rotation around that line.
This isn't an issue when using Rotation style = "Rotate around world z axis" view rotation mode because that mode always keeps the "up" direction along the world z axis. But when using Rotation style = "Free rotation" you can have some other "up direction" which will be lost.
I think it should only take a minor adjustment to the script to make it additionally save and restore the "up" direction, I'll give that a try.
- Michael
|