removing logging around physics

This commit is contained in:
samcake 2018-04-06 16:12:02 -07:00
parent b523b2a81a
commit 694baa81e8
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ void PhysicsBoundary::run(const workload::WorkloadContextPointer& context, const
auto entity = space->getOwner(change.proxyId).get<EntityItemPointer>();
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);
}
}
}

View file

@ -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);