[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34539] trunk/blender/source/blender/ editors/space_time/space_time.c: In the Timeline, keyframe lines are now drawn in front of the frame

Joshua Leung aligorith at gmail.com
Fri Jan 28 01:52:32 CET 2011


Revision: 34539
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34539
Author:   aligorith
Date:     2011-01-28 00:52:31 +0000 (Fri, 28 Jan 2011)
Log Message:
-----------
In the Timeline, keyframe lines are now drawn in front of the frame
indicator. This is so that it will be possible to see if there is a
keyframe on the current frame by just looking in the timeline.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_time/space_time.c

Modified: trunk/blender/source/blender/editors/space_time/space_time.c
===================================================================
--- trunk/blender/source/blender/editors/space_time/space_time.c	2011-01-28 00:45:53 UTC (rev 34538)
+++ trunk/blender/source/blender/editors/space_time/space_time.c	2011-01-28 00:52:31 UTC (rev 34539)
@@ -466,15 +466,15 @@
 	UI_view2d_grid_draw(v2d, grid, (V2D_VERTICAL_LINES|V2D_VERTICAL_AXIS));
 	UI_view2d_grid_free(grid);
 	
-	/* keyframes */
-	if(!G.rendering) /* ANIM_nla_mapping_apply_fcurve() modifies curve data while rendering, possible race condition */
-		time_draw_keyframes(C, stime, ar);
-	
 	/* current frame */
 	if ((stime->flag & TIME_DRAWFRAMES)==0) 	flag |= DRAWCFRA_UNIT_SECONDS;
 	if (stime->flag & TIME_CFRA_NUM) 			flag |= DRAWCFRA_SHOW_NUMBOX;
 	ANIM_draw_cfra(C, v2d, flag);
 	
+	/* keyframes */
+	if(!G.rendering) /* ANIM_nla_mapping_apply_fcurve() modifies curve data while rendering, possible race condition */
+		time_draw_keyframes(C, stime, ar);
+	
 	/* markers */
 	UI_view2d_view_orthoSpecial(ar, v2d, 1);
 	draw_markers_time(C, 0);




More information about the Bf-blender-cvs mailing list