diff options
author | Stefan Gartner <stefang@aon.at> | 2004-04-23 19:27:40 +0400 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2004-04-23 19:27:40 +0400 |
commit | d8580d181b975cc73d59dfe3719d7284582c1c51 (patch) | |
tree | c37d5393e34b16bf95e86adbf0e89085ae2c04a4 /source/blender/src/buttons_logic.c | |
parent | abe8191d7091b12604a1f427dc1e1bce15d7053e (diff) |
a sensors 'invert' toggle button was showing the wrong state.
thanks to Ton for figuring out what's wrong
Diffstat (limited to 'source/blender/src/buttons_logic.c')
-rw-r--r-- | source/blender/src/buttons_logic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c index 8c1107dc993..14a3b772c23 100644 --- a/source/blender/src/buttons_logic.c +++ b/source/blender/src/buttons_logic.c @@ -945,7 +945,7 @@ static void draw_default_sensor_header(bSensor *sens, /* value or shift? */ uiDefButS(block, TOG, 1, "Inv", (short)(x + 10 + 0.85 * (w-20)), (short)(y - 19), (short)(0.15 * (w-20)), 19, - &sens->invert, 1.0, SENS_NOT, 0, 0, + &sens->invert, 0.0, 0.0, 0, 0, "Invert the output of this sensor"); } |