diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-17 16:54:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-17 18:27:16 +0400 |
commit | bb507e4941ef949bbae006ffccf0da3bb7621a16 (patch) | |
tree | 1c5816c06434f3f7a6a525c161d5051661fe6207 /source/blender/editors/space_view3d/view3d_intern.h | |
parent | 69d127cadefbd9da6f8f11e3e32b77baebd20ea4 (diff) |
View3D: use smoothview for localview switching
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_intern.h | 17 |
1 files changed, 13 insertions, 4 deletions
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); |