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:
authorErwin Coumans <blender@erwincoumans.com>2005-08-08 15:03:16 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-08-08 15:03:16 +0400
commited80fde36b2357f8274671a930cecb1fe8449d98 (patch)
tree311a47c7adb9c4ce0d04b9c8a6c5a549da6dd3a6 /source/blender/src/buttons_logic.c
parent8ef6df8d2db69bfed19f1a9960eee9a86f61174b (diff)
- fixed missing logic positive pulse repeat button
-better naming for collision bounds: polytope -> convex polytope polyheder -> concave mesh -better naming: frequency -> the pulse delay
Diffstat (limited to 'source/blender/src/buttons_logic.c')
-rw-r--r--source/blender/src/buttons_logic.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c
index d5382b0502b..dd0b3082c58 100644
--- a/source/blender/src/buttons_logic.c
+++ b/source/blender/src/buttons_logic.c
@@ -955,24 +955,25 @@ static void draw_default_sensor_header(bSensor *sens,
short w)
{
/* Pulsing and frequency */
- uiDefIconButBitS(block, TOG, SENS_PULSE_CONT, 1, ICON_DOTSUP,
- (short)(x + 10), (short)(y - 19), (short)(0.15 * (w-20)), 19,
+ uiDefIconButBitS(block, TOG, SENS_PULSE_REPEAT, 1, ICON_DOTSUP,
+ (short)(x + 10 + 0. * (w-20)), (short)(y - 19), (short)(0.15 * (w-20)), 19,
&sens->pulse, 0.0, 0.0, 0, 0,
- "Activate TRUE pulse mode");
+ "Activate TRUE level triggering (pulse mode)");
+
uiDefIconButBitS(block, TOG, SENS_NEG_PULSE_MODE, 1, ICON_DOTSDOWN,
(short)(x + 10 + 0.15 * (w-20)), (short)(y - 19), (short)(0.15 * (w-20)), 19,
&sens->pulse, 0.0, 0.0, 0, 0,
- "Activate FALSE pulse mode");
+ "Activate FALSE level triggering (pulse mode)");
uiDefButS(block, NUM, 1, "f:",
(short)(x + 10 + 0.3 * (w-20)), (short)(y - 19), (short)(0.275 * (w-20)), 19,
&sens->freq, 0.0, 10000.0, 0, 0,
- "Frequency of pulses (in 1/50 sec)");
+ "Delay between repeated pulses (in logic tics, 0 = no delay)");
/* 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, 0.0, 0.0, 0, 0,
- "Invert the output of this sensor");
+ "Invert the level (output) of this sensor");
}
static short draw_sensorbuttons(bSensor *sens, uiBlock *block, short xco, short yco, short width,char* objectname)
@@ -2442,8 +2443,8 @@ void buttons_ketsji(uiBlock *block, Object *ob)
&ob->gameflag, 0, 0,0, 0,
"Specify a bounds object for physics");
if (ob->gameflag & OB_BOUNDS) {
- uiDefButS(block, MENU, REDRAWVIEW3D, "Boundary Display%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Polyheder%x4|Polytope%x5",
- 85, 125, 100, 19, &ob->boundtype, 0, 0, 0, 0, "Selects the boundary display type");
+ uiDefButS(block, MENU, REDRAWVIEW3D, "Boundary Display%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Concave Mesh %x4|Convex Polytope%x5",
+ 85, 125, 140, 19, &ob->boundtype, 0, 0, 0, 0, "Selects the collision type");
}
}
}