[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18600] branches/blender2.5/blender/source /blender/editors/animation/keyframing.c: Animato - Quick bugfix

Joshua Leung aligorith at gmail.com
Wed Jan 21 07:14:41 CET 2009


Revision: 18600
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18600
Author:   aligorith
Date:     2009-01-21 07:14:37 +0100 (Wed, 21 Jan 2009)

Log Message:
-----------
Animato - Quick bugfix

Added missing 'break;' 's skipped during the sprint towards the "first working prototype" stage. The temporary Insert Keyframe operator should now work correctly for rotation/scaling keys now by not adding extra keys. 

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/animation/keyframing.c

Modified: branches/blender2.5/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/animation/keyframing.c	2009-01-21 05:23:39 UTC (rev 18599)
+++ branches/blender2.5/blender/source/blender/editors/animation/keyframing.c	2009-01-21 06:14:37 UTC (rev 18600)
@@ -2051,10 +2051,12 @@
 				success+= insertkey(id, "scale", 0, cfra, 0);
 				success+= insertkey(id, "scale", 1, cfra, 0);
 				success+= insertkey(id, "scale", 2, cfra, 0);
+				break;
 			case 1: /* rotation */
 				success+= insertkey(id, "rotation", 0, cfra, 0);
 				success+= insertkey(id, "rotation", 1, cfra, 0);
 				success+= insertkey(id, "rotation", 2, cfra, 0);
+				break;
 			default: /* location */
 				success+= insertkey(id, "location", 0, cfra, 0);
 				success+= insertkey(id, "location", 1, cfra, 0);





More information about the Bf-blender-cvs mailing list