[Bf-blender-cvs] [0b41972] HMD_viewport: Fix compiling with WITH_OPENHMD disabled
Julian Eisel
noreply at git.blender.org
Mon Mar 28 23:51:49 CEST 2016
Commit: 0b41972dcad3f5e94dbf5ed56d656577c5d200f4
Author: Julian Eisel
Date: Mon Mar 28 23:51:10 2016 +0200
Branches: HMD_viewport
https://developer.blender.org/rB0b41972dcad3f5e94dbf5ed56d656577c5d200f4
Fix compiling with WITH_OPENHMD disabled
===================================================================
M intern/ghost/intern/GHOST_System.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp
index 506a351..7474dd5 100644
--- a/intern/ghost/intern/GHOST_System.cpp
+++ b/intern/ghost/intern/GHOST_System.cpp
@@ -320,7 +320,9 @@ GHOST_TSuccess GHOST_System::init()
m_timerManager = new GHOST_TimerManager();
m_windowManager = new GHOST_WindowManager();
m_eventManager = new GHOST_EventManager();
- m_openHMDManager = new GHOST_OpenHMDManager(*this);
+#ifdef WITH_OPENHMD
+ m_openHMDManager = new GHOST_OpenHMDManager(*this);
+#endif
#ifdef GHOST_DEBUG
if (m_eventManager) {
More information about the Bf-blender-cvs
mailing list