[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43701] trunk/blender/source/blender/ makesrna/intern/rna_scene_api.c: fix [#29987] scene.frame_set method doesn' t take in account camera change done via markers

Campbell Barton ideasman42 at gmail.com
Wed Jan 25 23:13:09 CET 2012


Revision: 43701
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43701
Author:   campbellbarton
Date:     2012-01-25 22:13:08 +0000 (Wed, 25 Jan 2012)
Log Message:
-----------
fix [#29987] scene.frame_set method doesn't take in account camera change done via markers

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_scene_api.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene_api.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene_api.c	2012-01-25 22:06:53 UTC (rev 43700)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene_api.c	2012-01-25 22:13:08 UTC (rev 43701)
@@ -57,6 +57,7 @@
 	
 	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] */



More information about the Bf-blender-cvs mailing list