Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2005-12-17 17:27:33 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2005-12-17 17:27:33 +0300
commit16b6f81a7c08ff8a4343df38fcce7768e0213118 (patch)
tree2f1be9c1ea4e47cf31f81ccdfeffbc92d775728c /source/blender/src/toets.c
parentdd8edc92cb8258aad5c6f467fbf7f87c7d550f0a (diff)
* 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)
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 0fee06a65d8..a99355359f1 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -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);
}
}
}