Logic UI: Pin option for sensor and actuators (from 2.49)
authorDalai Felinto <dfelinto@gmail.com>
Mon, 21 Jun 2010 07:51:40 +0000 (07:51 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Mon, 21 Jun 2010 07:51:40 +0000 (07:51 +0000)
commit3f4121cea5d10b76fac30f4fc60390f0d5e8ad20
tree31dd05d6e2cfcddfeafc21880a0df33be04db9f2
parent78d3793d31b380fcddbdcb3cc1ee932d68f60937
Logic UI: Pin option for sensor and actuators (from 2.49)

- implemented the old functionality of pin a sensor or actuator when "show state" is on.
- fixed code for setting/resetting VISIBLE and LINKED flags for sensors and actuators
(so states buttons is working for actuators and sensors)
- move the flag setting code (^^^) to a pre-processing part of the logic ui code.
source/blender/editors/space_logic/logic_window.c
source/blender/makesrna/intern/rna_actuator.c
source/blender/makesrna/intern/rna_sensor.c
source/blender/makesrna/intern/rna_space.c