mirror of
https://github.com/lubosz/overte.git
synced 2025-08-28 09:16:30 +02:00
remove unneeded code, quiet some debug spew
This commit is contained in:
parent
36e0a5afc5
commit
1cab14064d
2 changed files with 0 additions and 8 deletions
|
@ -283,13 +283,6 @@ bool RenderableModelEntityItem::isReadyToComputeShape() {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (collisionNetworkGeometry.isNull()) {
|
||||
// we have a _collisionModelURL but we don't yet have a collisionNetworkGeometry.
|
||||
// kick-off the download so that we'll have it at some future re-attempt.
|
||||
DependencyManager::get<GeometryCache>()->getGeometry(_collisionModelURL, QUrl(), false, false);
|
||||
return false;
|
||||
}
|
||||
|
||||
// the model is still being downloaded.
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -63,7 +63,6 @@ void PhysicsEngine::addEntityInternal(EntityItem* entity) {
|
|||
assert(entity);
|
||||
void* physicsInfo = entity->getPhysicsInfo();
|
||||
if (!physicsInfo) {
|
||||
qDebug() << "PhysicsEngine::addEntityInternal(" << entity;
|
||||
if (entity->isReadyToComputeShape()) {
|
||||
ShapeInfo shapeInfo;
|
||||
entity->computeShapeInfo(shapeInfo);
|
||||
|
|
Loading…
Reference in a new issue