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:
authorCampbell Barton <ideasman42@gmail.com>2008-09-04 16:11:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-09-04 16:11:47 +0400
commite356c4d5d4fce6aec2a308d93c6e8625d2e8cc8b (patch)
tree77080cfc40c16b34779f66affb44639165bab9fe /source/blender/makesdna/DNA_sensor_types.h
parenta7348dd43ee764d11cb0db66ca054c979c3b6bfe (diff)
pin option for sensors and actuators,
this helps in cases where you want to use a logic brick in 2 states, linking the sensor to a second state's controller can be tricky. This way you can pin a sensor or actuator, change the visible state and link it to another controller. The pin button will only be displayed when states view is enabled and the logic brick is expanded or when it is alredy pinned.
Diffstat (limited to 'source/blender/makesdna/DNA_sensor_types.h')
-rw-r--r--source/blender/makesdna/DNA_sensor_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h
index 3e0075c00bd..1fd97fe0158 100644
--- a/source/blender/makesdna/DNA_sensor_types.h
+++ b/source/blender/makesdna/DNA_sensor_types.h
@@ -218,6 +218,7 @@ typedef struct bJoystickSensor {
#define SENS_NEW 4
#define SENS_NOT 8
#define SENS_VISIBLE 16
+#define SENS_PIN 32
/* sensor->pulse */
#define SENS_PULSE_CONT 0