diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-05 05:57:21 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-05 05:57:21 +0400 |
commit | 324c7e9ca4f2436c1278068651a39afcf779df6d (patch) | |
tree | 9e94cc3f346e06f71f8c1f1019141485c9adcbc9 /source/blender/src/buttons_logic.c | |
parent | 9cebb37b547c0518049c4be1cae78ce70c4f277a (diff) |
- bug fix, some world material map to buttons missing
- bug fix, logic bool property value buttons missing
Diffstat (limited to 'source/blender/src/buttons_logic.c')
-rw-r--r-- | source/blender/src/buttons_logic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c index 5a870aec255..d5382b0502b 100644 --- a/source/blender/src/buttons_logic.c +++ b/source/blender/src/buttons_logic.c @@ -2515,8 +2515,8 @@ void logic_buts(void) } if(prop->type==PROP_BOOL) { - uiDefButBitI(block, TOG, PROP_BOOL, B_REDR, "True", 215, (short)(70-20*a), 55, 19, &prop->data, 0, 0, 0, 0, ""); - uiDefButBitI(block, TOGN, PROP_BOOL, B_REDR, "False", 270, (short)(70-20*a), 55, 19, &prop->data, 0, 0, 0, 0, ""); + uiDefButBitI(block, TOG, 1, B_REDR, "True", 215, (short)(70-20*a), 55, 19, &prop->data, 0, 0, 0, 0, ""); + uiDefButBitI(block, TOGN, 1, B_REDR, "False", 270, (short)(70-20*a), 55, 19, &prop->data, 0, 0, 0, 0, ""); } else if(prop->type==PROP_INT) uiDefButI(block, NUM, butreturn, "", 215, (short)(70-20*a), 110, 19, &prop->data, -10000, 10000, 0, 0, ""); |