don't copy points onto itself

This commit is contained in:
Andrew Meadows 2016-06-01 11:11:10 -07:00
parent c066b4d4ac
commit 7858ef84b3

View file

@ -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);