Format if..else statements

This commit is contained in:
sabrina-shanman 2018-08-03 12:55:11 -07:00
parent 0b40608650
commit b7d5804edb
2 changed files with 2 additions and 4 deletions

View file

@ -879,8 +879,7 @@ struct AllContactsCallback : public btCollisionWorld::ContactResultCallback {
otherBody = colObj1->m_collisionObject;
penetrationPoint = getWorldPoint(cp.m_localPointB, colObj1->getWorldTransform());
otherPenetrationPoint = getWorldPoint(cp.m_localPointA, colObj0->getWorldTransform());
}
else {
} else {
otherBody = colObj0->m_collisionObject;
penetrationPoint = getWorldPoint(cp.m_localPointA, colObj0->getWorldTransform());
otherPenetrationPoint = getWorldPoint(cp.m_localPointB, colObj1->getWorldTransform());

View file

@ -235,8 +235,7 @@ public:
if (shapeType >= SHAPE_TYPE_COMPOUND && shapeType <= SHAPE_TYPE_STATIC_MESH && shape["modelURL"].isValid()) {
QString newURL = shape["modelURL"].toString();
modelURL.setUrl(newURL);
}
else {
} else {
modelURL.setUrl("");
}