[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28517] trunk/blender/source/blender/ editors/space_nla/nla_draw.c: Bugfix #22201: NLA 'freeze' icon does not match box

Joshua Leung aligorith at gmail.com
Fri Apr 30 01:29:51 CEST 2010


Revision: 28517
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28517
Author:   aligorith
Date:     2010-04-30 01:29:50 +0200 (Fri, 30 Apr 2010)

Log Message:
-----------
Bugfix #22201: NLA 'freeze' icon does not match box

When the channel list in the NLA Editor was resized, the 'freeze' icon on Action Lines stayed put due to a relic from older code. 

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_nla/nla_draw.c

Modified: trunk/blender/source/blender/editors/space_nla/nla_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_nla/nla_draw.c	2010-04-29 23:24:31 UTC (rev 28516)
+++ trunk/blender/source/blender/editors/space_nla/nla_draw.c	2010-04-29 23:29:50 UTC (rev 28517)
@@ -790,7 +790,7 @@
 						
 						fdrawline((float)(v2d->cur.xmax-offset), yminc, 
 								  (float)(v2d->cur.xmax-offset), ymaxc);
-						offset += 16;;
+						offset += 16;
 						
 						/* 'tweaking action' indicator - not a button */
 						UI_icon_draw((float)(v2d->cur.xmax-offset), ydatac, ICON_EDIT); 
@@ -805,7 +805,7 @@
 						glEnd(); // GL_LINES
 						
 						/* 'push down' icon for normal active-actions */
-						UI_icon_draw((float)NLACHANNEL_NAMEWIDTH-offset, ydatac, ICON_FREEZE);
+						UI_icon_draw((float)v2d->cur.xmax-offset, ydatac, ICON_FREEZE);
 					}
 				}
 				





More information about the Bf-blender-cvs mailing list