mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 22:35:27 +02:00
Re-order variable initialization in CollisionRegion copy contructor
This commit is contained in:
parent
c6e6da2e3f
commit
6f6e70a470
1 changed files with 2 additions and 2 deletions
|
@ -270,10 +270,10 @@ public:
|
|||
CollisionRegion() { }
|
||||
|
||||
CollisionRegion(const CollisionRegion& collisionRegion) :
|
||||
threshold(collisionRegion.threshold),
|
||||
modelURL(collisionRegion.modelURL),
|
||||
shapeInfo(std::make_shared<ShapeInfo>()),
|
||||
transform(collisionRegion.transform)
|
||||
transform(collisionRegion.transform),
|
||||
threshold(collisionRegion.threshold)
|
||||
{
|
||||
shapeInfo->setParams(collisionRegion.shapeInfo->getType(), collisionRegion.shapeInfo->getHalfExtents(), collisionRegion.modelURL.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue