Fix for bug #3858: the game engine mouse focus sensor did not work
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 18 Sep 2008 01:46:28 +0000 (01:46 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 18 Sep 2008 01:46:28 +0000 (01:46 +0000)
commit0a7767d597dc92727a64fae676cbf03c9ef17915
tree32aa2443298aad6bfd40640b8e35d44218d80bac
parent3bf0a6fed88e43605fa82acbd1dbad7e64bed93d
Fix for bug #3858: the game engine mouse focus sensor did not work
correct if there was more than one camera. It shoots rays from the
active camera, but used the viewport from whichever camera was drawn
last, now it uses the correct vieport.
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Converter/KX_ConvertSensors.cpp
source/gameengine/Converter/KX_ConvertSensors.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.h
source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
source/gameengine/Ketsji/KX_MouseFocusSensor.h