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:
authorTon Roosendaal <ton@blender.org>2007-01-12 14:13:34 +0300
committerTon Roosendaal <ton@blender.org>2007-01-12 14:13:34 +0300
commit765e464a71a339e15454ca35621c8f4923b64869 (patch)
treea1381301d062d14ccc0508353012560d34a453ae /source/blender/src/drawaction.c
parente9291b78e2346c319c9bc1e31ae41e6b69859380 (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.c4
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,