remove unneeded code, quiet some debug spew

This commit is contained in:
Seth Alves 2015-03-18 13:10:53 -07:00
parent 36e0a5afc5
commit 1cab14064d
2 changed files with 0 additions and 8 deletions

View file

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

View file

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