Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2018-08-07 17:41:55 +0300
committermano-wii <germano.costa@ig.com.br>2018-08-07 17:41:55 +0300
commit030297209f2508a704b8851fa5d7d9a6696561b5 (patch)
treece7aeb68d7ed7dfe275b4429b61fa87cd6ef236a /intern/ghost/intern/GHOST_System.cpp
parent4c712fd17eade91d1eac65edae09f39460ae60ea (diff)
Fix T54799: NDOF events not dispatched on windows.
Caused by commit rB785e8a636a29
Diffstat (limited to 'intern/ghost/intern/GHOST_System.cpp')
-rw-r--r--intern/ghost/intern/GHOST_System.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp
index c3fd87c65af..4a8a8c48018 100644
--- a/intern/ghost/intern/GHOST_System.cpp
+++ b/intern/ghost/intern/GHOST_System.cpp
@@ -219,10 +219,12 @@ bool GHOST_System::getFullScreen(void)
void GHOST_System::dispatchEvents()
{
#ifdef WITH_INPUT_NDOF
+ #ifndef WIN32
// NDOF Motion event is sent only once per dispatch, so do it now:
if (m_ndofManager) {
m_ndofManager->sendMotionEvent();
}
+ #endif
#endif
if (m_eventManager) {