fix [#29987] scene.frame_set method doesn't take in account camera change done via markers

This commit is contained in:
2012-01-25 22:13:08 +00:00
parent 337302b56f
commit c3fe3b1baf

View File

@@ -57,6 +57,7 @@ static void rna_Scene_frame_set(Scene *scene, int frame, float subframe)
CLAMP(scene->r.cfra, MINAFRAME, MAXFRAME);
scene_update_for_newframe(G.main, scene, (1<<20) - 1);
scene_camera_switch_update(scene);
/* cant use NC_SCENE|ND_FRAME because this casues wm_event_do_notifiers to call
* scene_update_for_newframe which will loose any un-keyed changes [#24690] */