Use bracket initialization for CollisionRegion.loaded

This commit is contained in:
sabrina-shanman 2018-08-31 10:53:20 -07:00
parent 2e290ea798
commit b5862aca2a

View file

@ -365,7 +365,7 @@ public:
} }
// We can't load the model here because it would create a circular dependency, so we delegate that responsibility to the owning CollisionPick // We can't load the model here because it would create a circular dependency, so we delegate that responsibility to the owning CollisionPick
bool loaded = false; bool loaded { false };
QUrl modelURL; QUrl modelURL;
// We can't compute the shapeInfo here without loading the model first, so we delegate that responsibility to the owning CollisionPick // We can't compute the shapeInfo here without loading the model first, so we delegate that responsibility to the owning CollisionPick