Blender Git Loki

Git Commits -> Revision 3cd398f

Revision 3cd398f by Campbell Barton (master)
November 1, 2021, 06:09 (GMT)
Fix T92694: Auto Perspective is inconsistent with axis aligned views

Snapping to an axis aligned view with a 45 degree rotation would
set the view orthographic without setting it back to perspective
when orbiting the view as you would expect with auto-perspective.

Now orthographic is only set for views with rotation of 0, 90, 180, -90.

Notes:

- Partially reverts logic from cebd025e02f1147c48cd658816ad835f94128a4a
at the time RegionView3D.view_axis_roll had not been added,
so only setting the orthographic with one particular rotation
was a bigger limitation than it is now.

- Auto-perspective could be supported when snapping the viewport to
diagonal angles, however that's a larger project.

Commit Details:

Full Hash: 3cd398f16fbe4c5be05561ba47acd06121ee568d
Parent Commit: d052169
Lines Changed: +1, -6

1 Modified Path:

/source/blender/editors/space_view3d/view3d_edit.c (+1, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021