diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-10 14:57:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-10 14:57:22 +0400 |
commit | 639ea26638673f322882dcefc5559b86c2eff6c0 (patch) | |
tree | c91a24e5794cbfe456f45936a6c4cc1628e1a363 /source/blender/src/toets.c | |
parent | cc279a3aa0b9ca1cf73f272eb0b70f02ae5c8971 (diff) |
fix for [#1473] align camera to view : no IPO update
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index a71be6bc425..5b6af61949f 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -106,7 +106,7 @@ #include "mydevice.h" -#include "BIF_poseobject.h" +#include "transform.h" #define VIEW_ZOOM_OUT_FACTOR (1.15f) #define VIEW_ZOOM_IN_FACTOR (1.0f/VIEW_ZOOM_OUT_FACTOR) @@ -322,6 +322,7 @@ void persptoetsen(unsigned short event) if(((G.qual & LR_CTRLKEY) && (G.qual & LR_ALTKEY)) || (G.qual & LR_SHIFTKEY)) { void setcameratoview3d(void); // view.c setcameratoview3d(); + autokeyframe_ob_cb_func(G.scene->camera, TFM_TRANSLATION|TFM_ROTATION); DAG_object_flush_update(G.scene, G.scene->camera, OB_RECALC_OB); BIF_undo_push("View to Camera position"); allqueue(REDRAWVIEW3D, 0); |