diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-09-18 05:46:28 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-09-18 05:46:28 +0400 |
commit | 0a7767d597dc92727a64fae676cbf03c9ef17915 (patch) | |
tree | 32aa2443298aad6bfd40640b8e35d44218d80bac /source/gameengine/Converter/KX_ConvertSensors.h | |
parent | 3bf0a6fed88e43605fa82acbd1dbad7e64bed93d (diff) |
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.
Diffstat (limited to 'source/gameengine/Converter/KX_ConvertSensors.h')
-rw-r--r-- | source/gameengine/Converter/KX_ConvertSensors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Converter/KX_ConvertSensors.h b/source/gameengine/Converter/KX_ConvertSensors.h index 73da51f47f0..b18ffc10a2a 100644 --- a/source/gameengine/Converter/KX_ConvertSensors.h +++ b/source/gameengine/Converter/KX_ConvertSensors.h @@ -33,6 +33,7 @@ void BL_ConvertSensors(struct Object* blenderobject, class KX_GameObject* gameobj, class SCA_LogicManager* logicmgr, class KX_Scene* kxscene, + class KX_KetsjiEngine* kxengine, class SCA_IInputDevice* keydev, int & executePriority , int activeLayerBitInfo, |