fix [#29987] scene.frame_set method doesn't take in account camera change done via markers
This commit is contained in:
@@ -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] */
|
||||
|
||||
Reference in New Issue
Block a user