From 694baa81e802221ab719dce0895093ccd7352346 Mon Sep 17 00:00:00 2001 From: samcake Date: Fri, 6 Apr 2018 16:12:02 -0700 Subject: [PATCH] removing logging around physics --- interface/src/workload/PhysicsBoundary.cpp | 2 +- libraries/physics/src/PhysicsEngine.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/workload/PhysicsBoundary.cpp b/interface/src/workload/PhysicsBoundary.cpp index a62dfcf9f9..f239eeb78f 100644 --- a/interface/src/workload/PhysicsBoundary.cpp +++ b/interface/src/workload/PhysicsBoundary.cpp @@ -28,7 +28,7 @@ void PhysicsBoundary::run(const workload::WorkloadContextPointer& context, const auto entity = space->getOwner(change.proxyId).get(); if (entity) { simulation->changeEntity(entity); - qCDebug(physics) << change.proxyId << " : " << "'" << entity->getName() << "' " << (uint32_t)(change.prevRegion) << " --> " << (uint32_t)(change.region); + // qCDebug(physics) << change.proxyId << " : " << "'" << entity->getName() << "' " << (uint32_t)(change.prevRegion) << " --> " << (uint32_t)(change.region); } } } diff --git a/libraries/physics/src/PhysicsEngine.cpp b/libraries/physics/src/PhysicsEngine.cpp index 945b9c86dd..abf7f95299 100644 --- a/libraries/physics/src/PhysicsEngine.cpp +++ b/libraries/physics/src/PhysicsEngine.cpp @@ -72,7 +72,7 @@ uint32_t PhysicsEngine::getNumSubsteps() { // private void PhysicsEngine::addObjectToDynamicsWorld(ObjectMotionState* motionState) { - qCDebug(physics) << "templog addObject" << (void*)(motionState); // TODO: remove this + // qCDebug(physics) << "templog addObject" << (void*)(motionState); // TODO: remove this assert(motionState); btVector3 inertia(0.0f, 0.0f, 0.0f); @@ -194,7 +194,7 @@ void PhysicsEngine::removeObjects(const VectorOfMotionStates& objects) { for (auto object : objects) { btRigidBody* body = object->getRigidBody(); if (body) { - qCDebug(physics) << "removeObject" << (void*)(body->getMotionState()); // TODO: remove this + // qCDebug(physics) << "removeObject" << (void*)(body->getMotionState()); // TODO: remove this removeDynamicsForBody(body); _dynamicsWorld->removeRigidBody(body);