BGE Bugfix
authorCampbell Barton <ideasman42@gmail.com>
Tue, 14 Apr 2009 03:08:09 +0000 (03:08 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 14 Apr 2009 03:08:09 +0000 (03:08 +0000)
commit1bc31fc7f901334f0ed20317985b2a84d51714ca
tree31d44ba980aa37c0312fbe3ec154746c8b03915c
parent0b8661ab4da1a7cfbc756640649a2d07bb36cc64
BGE Bugfix
[#17678] "Mouse over" sensor broken when using viewports

Loop over all the scenes camera viewports and check the mouse is inside the viewport before casting a ray.
source/gameengine/Ketsji/KX_MouseFocusSensor.cpp