Revision: 14775
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14775
Author: campbellbarton
Date: 2008-05-10 12:57:22 +0200 (Sat, 10 May 2008)
Log Message:
-----------
fix for [#1473] align camera to view : no IPO update
Modified Paths:
--------------
trunk/blender/source/blender/src/toets.c
Modified: trunk/blender/source/blender/src/toets.c
===================================================================
--- trunk/blender/source/blender/src/toets.c 2008-05-10 07:58:10 UTC (rev
14774)
+++ trunk/blender/source/blender/src/toets.c 2008-05-10 10:57:22 UTC (rev
14775)
@@ -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 @@
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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs