* ctrl-alt-numpad0 didn't correctly update 3dview when the camera had anything parented to it.

Fix for #3596 (http://projects.blender.org/tracker/index.php?func=detail&aid=3596&group_id=9&atid=125)
This commit is contained in:
Nathan Letwory
2005-12-17 14:27:33 +00:00
parent dd8edc92cb
commit 16b6f81a7c

View File

@@ -425,6 +425,8 @@ void persptoetsen(unsigned short event)
if(((G.qual & LR_CTRLKEY) && (G.qual & LR_ALTKEY)) || (G.qual & LR_SHIFTKEY)) {
void setcameratoview3d(void); // view.c
setcameratoview3d();
DAG_object_flush_update(G.scene, G.scene->camera, OB_RECALC_OB);
allqueue(REDRAWVIEW3D, 0);
}
}
}