diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 08:40:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 08:40:32 +0400 |
commit | 8c3df03c5f3dc3246dc73111c3946757ee3e54ef (patch) | |
tree | 27f48df7c8353ee20cb9c54ca68a2016a95f40e0 /source/blender/editors/include | |
parent | c3406db4f5e87402d43a5d2a5e0049b16479d2d5 (diff) |
make previous commit work when the camera is locked to the view (in that case use the camera lens, not the viewport lens value).
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 27204d89bc5..01a9b4cf74a 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -219,7 +219,7 @@ void ED_view3d_clipping_enable(void); void ED_view3d_clipping_disable(void); float ED_view3d_pixel_size(struct RegionView3D *rv3d, const float co[3]); -float ED_view3d_dist_from_radius(struct View3D *v3d, const float radius); +float ED_view3d_dist_from_radius(const float angle, const float radius); void drawcircball(int mode, const float cent[3], float rad, float tmat[][4]); |