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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to