Blender Git Commit Log

Git Commits -> Revision e0611ca

Revision e0611ca by Campbell Barton (master)
March 21, 2015, 04:33 (GMT)
View3D: fix view-selected zoom logic

- Correct logic converting radius to view distance.
- Wasn't taking view-zoom into account converting lens to angle.
- Support framing the selection in the camera bounds (for camera locked views).

Add ED_view3d_radius_to_dist to handles these details.

Commit Details:

Full Hash: e0611ca832d793694cbda0fbae1a4388b81fc589
Parent Commit: e88cfc2
Lines Changed: +130, -53

4 Modified Paths:

/source/blender/blenkernel/intern/camera.c (+1, -1) (Diff)
/source/blender/editors/include/ED_view3d.h (+6, -2) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+12, -27) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+111, -23) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021