Hello! I’ve written some code and here’s the result:
Build with ortho axis snap
In this build with option Auto Perspective enabled view will turn to orthographic on snap (Alt key by default in Rotate View mode). Please have a look and give your feedback. In case everything is ok, I’ll make a pull request.
Known issues:
- Snap to axis works not very good in top/bottom views because of view becomes parallel to reference axis value (0,0,1). Do not know how to overcome it
- In case view snapping activated, then snap applied but not confirmed and snap key released, the view will remain orthographic, not perspective