[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54736] trunk/blender/source/blender/ editors/animation: Whitespace fixes
Joshua Leung
aligorith at gmail.com
Fri Feb 22 03:09:56 CET 2013
Revision: 54736
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54736
Author: aligorith
Date: 2013-02-22 02:09:54 +0000 (Fri, 22 Feb 2013)
Log Message:
-----------
Whitespace fixes
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/anim_channels_defines.c
trunk/blender/source/blender/editors/animation/anim_channels_edit.c
trunk/blender/source/blender/editors/animation/anim_ipo_utils.c
Modified: trunk/blender/source/blender/editors/animation/anim_channels_defines.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_channels_defines.c 2013-02-22 01:57:20 UTC (rev 54735)
+++ trunk/blender/source/blender/editors/animation/anim_channels_defines.c 2013-02-22 02:09:54 UTC (rev 54736)
@@ -2936,8 +2936,7 @@
else
offset = 0;
- /* calculate appropriate y-coordinates for icon buttons
- */
+ /* calculate appropriate y-coordinates for icon buttons */
y = (ymaxc - yminc) / 2 + yminc;
ymid = y - 0.5f * ICON_WIDTH;
/* y-coordinates for text is only 4 down from middle */
Modified: trunk/blender/source/blender/editors/animation/anim_channels_edit.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_channels_edit.c 2013-02-22 01:57:20 UTC (rev 54735)
+++ trunk/blender/source/blender/editors/animation/anim_channels_edit.c 2013-02-22 02:09:54 UTC (rev 54736)
@@ -2440,7 +2440,7 @@
}
notifierFlags |= (ND_ANIMCHAN | NA_SELECTED);
- }
+ }
break;
case ANIMTYPE_GROUP:
Modified: trunk/blender/source/blender/editors/animation/anim_ipo_utils.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_ipo_utils.c 2013-02-22 01:57:20 UTC (rev 54735)
+++ trunk/blender/source/blender/editors/animation/anim_ipo_utils.c 2013-02-22 02:09:54 UTC (rev 54736)
@@ -143,7 +143,7 @@
/* no array index */
arrayname = "";
}
-
+
/* putting this all together into the buffer */
/* XXX we need to check for invalid names...
* XXX the name length limit needs to be passed in or as some define */
@@ -151,7 +151,7 @@
BLI_snprintf(name, 256, "%s%s (%s)", arrayname, propname, structname);
else
BLI_snprintf(name, 256, "%s%s", arrayname, propname);
-
+
/* free temp name if nameprop is set */
if (free_structname)
MEM_freeN((void *)structname);
@@ -170,11 +170,11 @@
else {
/* invalid path */
BLI_snprintf(name, 256, "\"%s[%d]\"", fcu->rna_path, fcu->array_index);
-
+
/* icon for this should be the icon for the base ID */
/* TODO: or should we just use the error icon? */
icon = RNA_struct_ui_icon(id_ptr.type);
-
+
/* tag F-Curve as disabled - as not usable path */
fcu->flag |= FCURVE_DISABLED;
}
More information about the Bf-blender-cvs
mailing list