mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:33:27 +02:00
Merge branch 'fix-physics-crash' of github.com:sethalves/hifi into vhacd-knobs
This commit is contained in:
commit
4aa6748e11
2 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ bool RenderableModelEntityItem::hasCollisionModel() const {
|
|||
}
|
||||
|
||||
const QString& RenderableModelEntityItem::getCollisionModelURL() const {
|
||||
assert (!_model || _collisionModelURL == _model->getCollisionURL().toString());
|
||||
// assert (!_model || _collisionModelURL == _model->getCollisionURL().toString());
|
||||
return _collisionModelURL;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ PhysicsEngine::~PhysicsEngine() {
|
|||
delete _collisionDispatcher;
|
||||
delete _broadphaseFilter;
|
||||
delete _constraintSolver;
|
||||
delete _dynamicsWorld;
|
||||
// delete _dynamicsWorld;
|
||||
// delete _ghostPairCallback;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue