diff --git a/src/OgreOculusRender.cpp b/src/OgreOculusRender.cpp index b2ea446b..247bbe31 100644 --- a/src/OgreOculusRender.cpp +++ b/src/OgreOculusRender.cpp @@ -527,9 +527,6 @@ void OgreOculusRender::renderAndSubmitFrame() } } -//TODO get rid of this boolean -constexpr bool DEBUG(false); - void OgreOculusRender::initializeHandObjects(const oorEyeType side) { //If it's the first time we have access data on this hand controller, instantiate the object @@ -537,7 +534,6 @@ void OgreOculusRender::initializeHandObjects(const oorEyeType side) { handControllers[side] = std::make_shared (Oculus->getSession(), smgr->getRootSceneNode()->createChildSceneNode(), size_t(side), AnnHandController::AnnHandControllerSide(side)); - if (DEBUG) handControllers[side]->attachModel(smgr->createEntity("gizmo.mesh")); } } diff --git a/src/OgreOpenVRRender.cpp b/src/OgreOpenVRRender.cpp index d44a2262..89d21d4e 100644 --- a/src/OgreOpenVRRender.cpp +++ b/src/OgreOpenVRRender.cpp @@ -313,9 +313,6 @@ void OgreOpenVRRender::processVREvents() } } -//TODO completely remove this boolean -constexpr bool DEBUG(false); - void OgreOpenVRRender::processController(vr::TrackedDeviceIndex_t controllerDeviceIndex, Annwvyn::AnnHandController::AnnHandControllerSide side) { //Extract tracking information from the device @@ -342,8 +339,6 @@ void OgreOpenVRRender::processController(vr::TrackedDeviceIndex_t controllerDevi { handControllers[side] = std::make_shared (vrSystem, controllerDeviceIndex, smgr->getRootSceneNode()->createChildSceneNode(), size_t(controllerDeviceIndex), side); - - if (DEBUG) handControllers[side]->attachModel(smgr->createEntity("gizmo.mesh")); } auto handController = handControllers[side];