[Bf-blender-cvs] [c564d847efa] blender2.8: Show cached frames in timeline at correct height

Sybren A. Stüvel noreply at git.blender.org
Tue Jun 19 11:50:49 CEST 2018


Commit: c564d847efa6b933066c4fc02558d627bca401a4
Author: Sybren A. Stüvel
Date:   Tue Jun 19 11:49:19 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc564d847efa6b933066c4fc02558d627bca401a4

Show cached frames in timeline at correct height

The line was covered by the horizontal scrollbar instead of drawn above
it.

===================================================================

M	source/blender/editors/space_action/action_draw.c

===================================================================

diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index 7c8be943a87..35ebb62a7cc 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -436,7 +436,7 @@ void timeline_draw_cache(SpaceAction *saction, Object *ob, Scene *scene)
 			continue;
 
 		gpuPushMatrix();
-		gpuTranslate2f(0.0, (float)V2D_SCROLL_HEIGHT + yoffs);
+		gpuTranslate2f(0.0, (float)V2D_SCROLL_HEIGHT_TEXT + yoffs);
 		gpuScale2f(1.0, cache_draw_height);
 
 		switch (pid->type) {



More information about the Bf-blender-cvs mailing list