mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 16:02:08 +02:00
don't copy points onto itself
This commit is contained in:
parent
c066b4d4ac
commit
7858ef84b3
1 changed files with 0 additions and 1 deletions
|
@ -703,7 +703,6 @@ void RenderableModelEntityItem::computeShapeInfo(ShapeInfo& info) {
|
|||
|
||||
glm::vec3 collisionModelDimensions = box.getDimensions();
|
||||
info.setParams(type, collisionModelDimensions, _compoundShapeURL);
|
||||
info.setConvexHulls(points);
|
||||
info.setOffset(_model->getOffset());
|
||||
} else {
|
||||
ModelEntityItem::computeShapeInfo(info);
|
||||
|
|
Loading…
Reference in a new issue