Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-05-04 11:26:57 +0400
committerJoshua Leung <aligorith@gmail.com>2007-05-04 11:26:57 +0400
commit28899799aaf57a45fcef5d6a2c7c949774555872 (patch)
tree02383bdfa17c7dd813b32be486df015bb1e4d22f /source/blender/src/drawaction.c
parent7bd69efaec73e4c4fa019892ffd8dd4a8e2fee61 (diff)
Hopefullly this commit shall resolve the issues drawing issues I saw with the Action
Editor IPO-Curve channel names on a computer with an Intel G965 Express graphics card.
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r--source/blender/src/drawaction.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c
index a36659cbd85..9ffb6c7da64 100644
--- a/source/blender/src/drawaction.c
+++ b/source/blender/src/drawaction.c
@@ -439,6 +439,8 @@ static void draw_action_channel_names(bAction *act)
/* Draw IPO-curve-channels? */
if (FILTER_IPO_ACHAN(achan)) {
for (icu=achan->ipo->curve.first; icu; icu=icu->next) {
+ char *icu_name= getname_ipocurve(icu);
+
/* draw backing strip behind ipo-curve channel*/
BIF_ThemeColorShade(TH_HEADER, -40);
glRectf(x+14, y-CHANNELHEIGHT/2, (float)NAMEWIDTH, y+CHANNELHEIGHT/2);
@@ -449,7 +451,7 @@ static void draw_action_channel_names(bAction *act)
else
BIF_ThemeColor(TH_TEXT);
glRasterPos2f(x+24, y-4);
- BMF_DrawString(G.font, getname_ipocurve(icu));
+ BMF_DrawString(G.font, icu_name);
#if 0 /* tempolarily disabled until all ipo-code can support this option */
/* draw 'lock' to indicate if ipo-curve channel is protected */