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:
authorStefan Gartner <stefang@aon.at>2004-04-23 19:27:40 +0400
committerStefan Gartner <stefang@aon.at>2004-04-23 19:27:40 +0400
commitd8580d181b975cc73d59dfe3719d7284582c1c51 (patch)
treec37d5393e34b16bf95e86adbf0e89085ae2c04a4 /source/blender/src/buttons_logic.c
parentabe8191d7091b12604a1f427dc1e1bce15d7053e (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.c2
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");
}