Blender Git Commit Log

Git Commits -> Revision bf0440a

Revision bf0440a by Benoit Bolsee (master)
October 17, 2008, 09:24 (GMT)
BGE bug fix (continuation of previous bug fix):
- Forgot to make SCA_ISensor::UnregisterToManager() virtual to intercept active-inactive transition on collision sensor to clear colliders reference.
- Don't record collision on inactive sensor.
This situation occurs when an object with an inactive collision sensor collides with an object with an active collision sensor: the collision handler triggers both sensors.
The result of this bug was pending references that eventually cause temporary memory leak (until the sensor is reactivated).

Commit Details:

Full Hash: bf0440add886761706476b69b5355ec7d94650c2
SVN Revision: 17093
Parent Commit: c119fb6
Lines Changed: +10, -5

3 Modified Paths:

/source/gameengine/GameLogic/SCA_ISensor.h (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+4, -2) (Diff)
/source/gameengine/Ketsji/KX_TouchSensor.cpp (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021