From d3e098bb42dd9eb6346c41f1f400050010161549 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 12 Jun 2012 17:11:00 +0000 Subject: Some Clip Editor interface clean-ups: - Display track's reprojection error in dopesheet - Make sure track is selected when clicking on dopesheet channel - Attempt to make headers a bit cleaner without long labels which doesn't actually make sense. --- source/blender/editors/space_clip/clip_dopesheet_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_clip/clip_dopesheet_draw.c') diff --git a/source/blender/editors/space_clip/clip_dopesheet_draw.c b/source/blender/editors/space_clip/clip_dopesheet_draw.c index 2ce0e13b8bd..361a3a7d906 100644 --- a/source/blender/editors/space_clip/clip_dopesheet_draw.c +++ b/source/blender/editors/space_clip/clip_dopesheet_draw.c @@ -313,10 +313,10 @@ void clip_draw_dopesheet_channels(const bContext *C, ARegion *ar) else UI_ThemeColor(TH_TEXT); - font_height = BLF_height(fontid, track->name); + font_height = BLF_height(fontid, channel->name); BLF_position(fontid, v2d->cur.xmin + CHANNEL_PAD, y - font_height / 2.0f, 0.0f); - BLF_draw(fontid, track->name, strlen(track->name)); + BLF_draw(fontid, channel->name, strlen(channel->name)); } /* adjust y-position for next one */ -- cgit v1.2.3