[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51086] trunk/blender/source/blender/ editors/animation/keyframing.c: Whitespace edits

Joshua Leung aligorith at gmail.com
Fri Oct 5 16:05:49 CEST 2012


Revision: 51086
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51086
Author:   aligorith
Date:     2012-10-05 14:05:49 +0000 (Fri, 05 Oct 2012)
Log Message:
-----------
Whitespace edits

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

Modified: trunk/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframing.c	2012-10-05 13:22:09 UTC (rev 51085)
+++ trunk/blender/source/blender/editors/animation/keyframing.c	2012-10-05 14:05:49 UTC (rev 51086)
@@ -1587,7 +1587,7 @@
 	PointerRNA ptr = {{NULL}};
 	PropertyRNA *prop = NULL;
 	char *path;
-	float cfra = (float)CFRA; // XXX for now, don't bother about all the yucky offset crap
+	float cfra = (float)CFRA;
 	short success = 0;
 	int a, index, length, all = RNA_boolean_get(op->ptr, "all");
 	short flag = 0;
@@ -1758,20 +1758,20 @@
 
 	if (ptr.id.data && ptr.data && prop) {
 		path = RNA_path_from_ID_to_property(&ptr, prop);
-
+		
 		if (path) {
 			if (all) {
 				length = RNA_property_array_length(&ptr, prop);
-
+				
 				if (length) index = 0;
 				else length = 1;
 			}
 			else
 				length = 1;
-
+			
 			for (a = 0; a < length; a++)
 				success += clear_keyframe(op->reports, ptr.id.data, NULL, NULL, path, index + a, 0);
-
+			
 			MEM_freeN(path);
 		}
 		else if (G.debug & G_DEBUG)
@@ -1785,9 +1785,9 @@
 	if (success) {
 		/* send updates */
 		uiContextAnimUpdate(C);
-
+		
 		DAG_ids_flush_update(bmain, 0);
-
+		
 		/* send notifiers that keyframes have been changed */
 		WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL);
 	}




More information about the Bf-blender-cvs mailing list