[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53188] trunk/blender/source/blender/ makesrna/intern/rna_space.c: Animation system small fix:

Ton Roosendaal ton at blender.org
Wed Dec 19 19:36:20 CET 2012


Revision: 53188
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53188
Author:   ton
Date:     2012-12-19 18:36:20 +0000 (Wed, 19 Dec 2012)
Log Message:
-----------
Animation system small fix:

On browsing actions in DopeSheet editor, the animation state didn't update.

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_space.c	2012-12-19 16:48:06 UTC (rev 53187)
+++ trunk/blender/source/blender/makesrna/intern/rna_space.c	2012-12-19 18:36:20 UTC (rev 53188)
@@ -871,6 +871,9 @@
 			/* show new id-count of action we're replacing */
 			adt->action = saction->action;
 			id_us_plus(&adt->action->id);
+			
+			/* force update of animdata */
+			adt->recalc |= ADT_RECALC_ANIM;
 		}
 		
 		/* force depsgraph flush too */




More information about the Bf-blender-cvs mailing list