diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-04 16:11:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-04 16:11:47 +0400 |
commit | e356c4d5d4fce6aec2a308d93c6e8625d2e8cc8b (patch) | |
tree | 77080cfc40c16b34779f66affb44639165bab9fe /source/blender/makesdna/DNA_actuator_types.h | |
parent | a7348dd43ee764d11cb0db66ca054c979c3b6bfe (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_actuator_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_actuator_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h index 59d0555b452..d08cf42867d 100644 --- a/source/blender/makesdna/DNA_actuator_types.h +++ b/source/blender/makesdna/DNA_actuator_types.h @@ -300,6 +300,7 @@ typedef struct FreeCamera { #define ACT_NEW 4 #define ACT_LINKED 8 #define ACT_VISIBLE 16 +#define ACT_PIN 32 /* link codes */ #define LINK_SENSOR 0 |