[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24962] trunk/blender/source/blender/ editors/animation/keyframes_edit.c: Bugfix #20127: Crash in dope sheet when opening regression file

Joshua Leung aligorith at gmail.com
Sat Nov 28 05:51:16 CET 2009


Revision: 24962
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24962
Author:   aligorith
Date:     2009-11-28 05:51:15 +0100 (Sat, 28 Nov 2009)

Log Message:
-----------
Bugfix #20127: Crash in dope sheet when opening regression file

Was using wrong pointer to action/keyframe data for shapekey expander channels causing crash

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/keyframes_edit.c

Modified: trunk/blender/source/blender/editors/animation/keyframes_edit.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframes_edit.c	2009-11-28 04:43:15 UTC (rev 24961)
+++ trunk/blender/source/blender/editors/animation/keyframes_edit.c	2009-11-28 04:51:15 UTC (rev 24962)
@@ -382,7 +382,7 @@
 		case ALE_GROUP: /* action group */
 			return agrp_keys_bezier_loop(bed, (bActionGroup *)ale->data, bezt_ok, bezt_cb, fcu_cb);
 		case ALE_ACT: /* action */
-			return act_keys_bezier_loop(bed, (bAction *)ale->data, bezt_ok, bezt_cb, fcu_cb);
+			return act_keys_bezier_loop(bed, (bAction *)ale->key_data, bezt_ok, bezt_cb, fcu_cb);
 			
 		case ALE_OB: /* object */
 			return ob_keys_bezier_loop(bed, (Object *)ale->key_data, bezt_ok, bezt_cb, fcu_cb, filterflag);





More information about the Bf-blender-cvs mailing list