From bb507e4941ef949bbae006ffccf0da3bb7621a16 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 Apr 2014 22:54:10 +1000 Subject: View3D: use smoothview for localview switching --- source/blender/editors/space_view3d/view3d_intern.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/space_view3d/view3d_intern.h') diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index 3f5d35aa065..214ae89bfeb 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -204,10 +204,19 @@ void VIEW3D_OT_game_start(struct wmOperatorType *ot); bool ED_view3d_boundbox_clip_ex(RegionView3D *rv3d, const struct BoundBox *bb, float obmat[4][4]); bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const struct BoundBox *bb); -void ED_view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *ar, - struct Object *camera_old, struct Object *camera, - const float *ofs, const float *quat, const float *dist, const float *lens, - const int smooth_viewtx); +void ED_view3d_smooth_view_ex( + struct wmWindowManager *wm, struct wmWindow *win, struct ScrArea *sa, + struct View3D *v3d, struct ARegion *ar, + struct Object *camera_old, struct Object *camera, + const float *ofs, const float *quat, const float *dist, const float *lens, + const int smooth_viewtx); + +void ED_view3d_smooth_view( + struct bContext *C, + struct View3D *v3d, struct ARegion *ar, + struct Object *camera_old, struct Object *camera, + const float *ofs, const float *quat, const float *dist, const float *lens, + const int smooth_viewtx); void setwinmatrixview3d(ARegion *ar, View3D *v3d, rctf *rect); void setviewmatrixview3d(Scene *scene, View3D *v3d, RegionView3D *rv3d); -- cgit v1.2.3