mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
removed some debugging
This commit is contained in:
parent
08fbcbaf40
commit
81185cfe56
4 changed files with 0 additions and 14 deletions
|
@ -21,11 +21,8 @@
|
|||
#include "EntityItem.h"
|
||||
#include "EntityTree.h"
|
||||
|
||||
quint64 EntityItem::lastCollisionTime = 0;
|
||||
bool EntityItem::_sendPhysicsUpdates = true;
|
||||
|
||||
|
||||
|
||||
void EntityItem::initFromEntityItemID(const EntityItemID& entityItemID) {
|
||||
_id = entityItemID.id;
|
||||
_creatorTokenID = entityItemID.creatorTokenID;
|
||||
|
|
|
@ -54,8 +54,6 @@ public:
|
|||
DIRTY_UPDATEABLE = 0x0080,
|
||||
};
|
||||
|
||||
static quint64 lastCollisionTime;
|
||||
|
||||
DONT_ALLOW_INSTANTIATION // This class can not be instantiated directly
|
||||
|
||||
EntityItem(const EntityItemID& entityItemID);
|
||||
|
|
|
@ -106,7 +106,6 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) {
|
|||
qDebug() << " last edited:" << _entity->getLastEdited() << formatUsecTime(now - _entity->getLastEdited()) << "ago";
|
||||
qDebug() << " last simulated:" << _entity->getLastSimulated() << formatUsecTime(now - _entity->getLastSimulated()) << "ago";
|
||||
qDebug() << " last updated:" << _entity->getLastUpdated() << formatUsecTime(now - _entity->getLastUpdated()) << "ago";
|
||||
qDebug() << " last collision:" << EntityItem::lastCollisionTime << formatUsecTime(now - EntityItem::lastCollisionTime) << "ago";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -371,18 +371,10 @@ void PhysicsEngine::computeCollisionEvents() {
|
|||
if (B && B->getType() == MOTION_STATE_TYPE_ENTITY) {
|
||||
idB = static_cast<EntityMotionState*>(B)->getEntity()->getEntityItemID();
|
||||
}
|
||||
|
||||
//qDebug() << "entityCollisionWithEntity()... idA:" << idA << "idB:" << idB << "*******************************";
|
||||
//EntityItem::lastCollisionTime = usecTimestampNow();
|
||||
|
||||
emit entityCollisionWithEntity(idA, idB, contactItr->second);
|
||||
} else if (B && B->getType() == MOTION_STATE_TYPE_ENTITY) {
|
||||
EntityItemID idA;
|
||||
EntityItemID idB = static_cast<EntityMotionState*>(B)->getEntity()->getEntityItemID();
|
||||
|
||||
//qDebug() << "entityCollisionWithEntity()... idA:" << idA << "idB:" << idB << "*******************************";
|
||||
//EntityItem::lastCollisionTime = usecTimestampNow();
|
||||
|
||||
emit entityCollisionWithEntity(idA, idB, contactItr->second);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue