diff options
author | Ton Roosendaal <ton@blender.org> | 2007-01-12 14:13:34 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-01-12 14:13:34 +0300 |
commit | 765e464a71a339e15454ca35621c8f4923b64869 (patch) | |
tree | a1381301d062d14ccc0508353012560d34a453ae /source/blender/src/drawaction.c | |
parent | e9291b78e2346c319c9bc1e31ae41e6b69859380 (diff) |
Bugfixes:
- the "number/string button widget", or sbutton(), button() and fbutton()
calls, were using button event '1' or '2' to denote events, whilst this
could also be an other defined event.
Bug showed as unwanted display changes in ipo window after using marker
renaming for example.
- slider buttons for Action Window were expecting ints, while using short.
- cleanup in blender/src for warnings
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r-- | source/blender/src/drawaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 515d2378491..e0597b0db04 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -130,7 +130,7 @@ static void meshactionbuts(SpaceAction *saction, Object *ob, Key *key) if (!(G.saction->flag & SACTION_SLIDERS)) { ACTWIDTH = NAMEWIDTH; - but=uiDefIconButBitI(block, TOG, SACTION_SLIDERS, B_REDR, + but=uiDefIconButBitS(block, TOG, SACTION_SLIDERS, B_REDR, ICON_DISCLOSURE_TRI_RIGHT, NAMEWIDTH - XIC - 5, y + CHANNELHEIGHT, XIC,YIC-2, @@ -141,7 +141,7 @@ static void meshactionbuts(SpaceAction *saction, Object *ob, Key *key) } else { - but= uiDefIconButBitI(block, TOG, SACTION_SLIDERS, B_REDR, + but= uiDefIconButBitS(block, TOG, SACTION_SLIDERS, B_REDR, ICON_DISCLOSURE_TRI_DOWN, NAMEWIDTH - XIC - 5, y + CHANNELHEIGHT, XIC,YIC-2, |