BGE Fix: [#19951] mouse over sensor is broken with letterboxing framing
authorDalai Felinto <dfelinto@gmail.com>
Fri, 23 Apr 2010 22:48:26 +0000 (22:48 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 23 Apr 2010 22:48:26 +0000 (22:48 +0000)
commitedc56fae1830047218d2d1d6538765ae02806d7e
treecbbd7ab879b5ef7090e782c019458d0eaf75b716
parent62c0ac2dc9462b1e6e6b8b271cbcd100886a83e9
BGE Fix: [#19951] mouse over sensor is broken with letterboxing framing

Tested with GameLogic.mouse.position and mouse over sensor.
It should be working with other mouse sensor as well. If not, please help to test and report a bug.
(couldn't test blenderplayer but it should be working there as well).

(Benoit, this is the same patch that I sent you. I hope it's OOP enough. Looking forward to hear from you on that)

I believe that this was the last "mouse" related bug we had reported. MouseLoook scripts should be working 100% in Blender/BGE 2.50 now \o/
13 files changed:
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h
source/gameengine/GameLogic/SCA_MouseManager.cpp
source/gameengine/GameLogic/SCA_MouseManager.h
source/gameengine/GameLogic/SCA_PythonMouse.cpp
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Ketsji/KX_Scene.h
source/gameengine/Rasterizer/RAS_ICanvas.h