[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49137] trunk/blender/source/blender/ editors/animation/anim_channels_defines.c: Minor style cleanup - remove invalid/unneeded comments

Joshua Leung aligorith at gmail.com
Mon Jul 23 14:22:10 CEST 2012


Revision: 49137
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49137
Author:   aligorith
Date:     2012-07-23 12:22:09 +0000 (Mon, 23 Jul 2012)
Log Message:
-----------
Minor style cleanup - remove invalid/unneeded comments

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

Modified: trunk/blender/source/blender/editors/animation/anim_channels_defines.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_channels_defines.c	2012-07-23 12:10:21 UTC (rev 49136)
+++ trunk/blender/source/blender/editors/animation/anim_channels_defines.c	2012-07-23 12:22:09 UTC (rev 49137)
@@ -87,12 +87,9 @@
 
 #define ANIM_CHAN_NAME_SIZE 256
 
-/* macros used for type defines */
-
-/* get the pointer used for some flag and return */
+/* get the pointer used for some flag */
 #define GET_ACF_FLAG_PTR(ptr, type) ((*(type) = sizeof((ptr))), &(ptr))
 
-
 /* *********************************************** */
 /* Generic Functions (Type independent) */
 
@@ -119,7 +116,7 @@
 	glColor3fv(color);
 	
 	/* rounded corners on LHS only - top only when expanded, but bottom too when collapsed */
-	uiSetRoundBox(expanded ? UI_CNR_TOP_LEFT : (UI_CNR_TOP_LEFT | UI_CNR_BOTTOM_LEFT));
+	uiSetRoundBox((expanded) ? UI_CNR_TOP_LEFT : (UI_CNR_TOP_LEFT | UI_CNR_BOTTOM_LEFT));
 	uiDrawBox(GL_POLYGON, offset,  yminc, v2d->cur.xmax + EXTRA_SCROLL_PAD, ymaxc, 8);
 }
 




More information about the Bf-blender-cvs mailing list