Blender Git Loki

Git Commits -> Revision 95335af

Revision 95335af by Campbell Barton (master)
June 17, 2009, 12:32 (GMT)
fix for a bug reported by zapman on blenderartist.

De-activating a loop-end actuator didnt work (it kept looping).
Looked into this further and it turns out that the actuators run with both positive and negative events false, the sound actuator assumes because its not negative that its a positive event and plays the sound anyway.

Fix by checking that its a positive event before playing.

The size limit on the message actuator was 100 which broke some scripts, set to 16384 instead.

Commit Details:

Full Hash: 95335af1b908be6044a02ccfb0a0edf529a61eff
SVN Revision: 20957
Parent Commit: 2519da9
Lines Changed: +14, -4

2 Modified Paths:

/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SoundActuator.cpp (+13, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021