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
path: root/intern
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2008-05-11 17:33:27 +0400
committerJean-Luc Peurière <jlp@nerim.net>2008-05-11 17:33:27 +0400
commit360e2f091ea123ade3842219ddf5e204af4951ed (patch)
tree64ba7d7b8b388d98f9f3792b5cc744def176667b /intern
parent50a282559ce8ff4cda62964e631152cada483ddb (diff)
protecting by #ifdef0 debug prints for ndof
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_NDOFManager.cpp2
-rw-r--r--intern/ghost/intern/GHOST_System.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManager.cpp b/intern/ghost/intern/GHOST_NDOFManager.cpp
index 6f3876c1d96..2426146184a 100644
--- a/intern/ghost/intern/GHOST_NDOFManager.cpp
+++ b/intern/ghost/intern/GHOST_NDOFManager.cpp
@@ -73,7 +73,9 @@ GHOST_NDOFManager::deviceOpen(GHOST_IWindow* window,
if (ndofLibraryInit && ndofDeviceOpen)
{
Pid= ndofLibraryInit();
+#if 0
printf("%i client \n", Pid);
+#endif
#if defined(_WIN32) || defined(__APPLE__)
m_DeviceHandle = ndofDeviceOpen((void *)&currentNdofValues);
#else
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp
index 458a35bf34b..87e5f375958 100644
--- a/intern/ghost/intern/GHOST_System.cpp
+++ b/intern/ghost/intern/GHOST_System.cpp
@@ -283,9 +283,11 @@ GHOST_TSuccess GHOST_System::init()
m_eventManager = new GHOST_EventManager ();
m_ndofManager = new GHOST_NDOFManager();
+#if 0
if(m_ndofManager)
printf("ndof manager \n");
-
+#endif
+
#ifdef GHOST_DEBUG
if (m_eventManager) {
m_eventManager->addConsumer(&m_eventPrinter);