* ctrl-alt-numpad0 didn't correctly update 3dview when the camera had anything parent...
authorNathan Letwory <nathan@letworyinteractive.com>
Sat, 17 Dec 2005 14:27:33 +0000 (14:27 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sat, 17 Dec 2005 14:27:33 +0000 (14:27 +0000)
Fix for #3596 (http://projects.blender.org/tracker/index.php?func=detail&aid=3596&group_id=9&atid=125)

source/blender/src/toets.c

index 0fee06a65d835d92436bb7bea9b381a50dd9afac..a99355359f17a20c574d1710587563896aad7b21 100644 (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);
                                }                               
                        }
                }