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:
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r--source/blender/src/drawaction.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c
index 33ddedd90fa..fb07c245d28 100644
--- a/source/blender/src/drawaction.c
+++ b/source/blender/src/drawaction.c
@@ -129,14 +129,12 @@ void meshactionbuts(SpaceAction *saction, Key *key)
sprintf(str, "actionbuttonswin %d", curarea->win);
block= uiNewBlock (&curarea->uiblocks, str,
- UI_EMBOSSX, UI_HELV, curarea->win);
+ UI_EMBOSS, UI_HELV, curarea->win);
x = NAMEWIDTH + 1;
y = key->totkey*(CHANNELHEIGHT+CHANNELSKIP)
- CHANNELHEIGHT/2 - G.v2d->cur.ymin;
- uiBlockSetCol(block, BUTGREY);
-
/* make the little 'open the sliders' widget */
glColor3f(RVKBGCOL);
glRects(2, y + 2*CHANNELHEIGHT - 2,
@@ -168,7 +166,7 @@ void meshactionbuts(SpaceAction *saction, Key *key)
/* sliders are open so draw them */
glColor3f(RVKBGCOL);
glRects(NAMEWIDTH, 0, NAMEWIDTH+SLIDERWIDTH, curarea->winy);
- uiBlockSetEmboss(block, UI_EMBOSSX);
+ uiBlockSetEmboss(block, UI_EMBOSS);
for (i=1 ; i < key->totkey ; ++ i) {
make_rvk_slider(block, key, i,
x, y, SLIDERWIDTH-2, CHANNELHEIGHT-1);