mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
removing logging around physics
This commit is contained in:
parent
b523b2a81a
commit
694baa81e8
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue