I often switch between orthographic and perspective mode when modeling. I have a custom shortcut that toggles between these modes with a hotkey. Everything works as expected, but when switching to orthographic it zooms the camera out, and when switching to perspective it zooms in.
I was wondering if there was some way to preserve the zoom when switching between these two modes? I’m guessing it’s not possible, but you guys have surprised me before
EDIT: Current code
-- Toggle between orthographic/perspective mode if (gw.isPerspectiveView() == true) then ( max vpt iso user ) else ( max vpt persp user )