Merge branch 'master' of github.com:highfidelity/hifi into fix-edit-js-restart

This commit is contained in:
Seth Alves 2016-05-25 13:06:24 -07:00
commit 75329c812c

View file

@ -161,7 +161,7 @@ void ShapeEntityItem::appendSubclassData(OctreePacketData* packetData, EncodeBit
// This value specifes how the shape should be treated by physics calculations.
// For now, all polys will act as spheres
ShapeType ShapeEntityItem::getShapeType() const {
return SHAPE_TYPE_ELLIPSOID;
return (_shape == entity::Shape::Cube) ? SHAPE_TYPE_BOX : SHAPE_TYPE_SPHERE;
}
void ShapeEntityItem::setColor(const rgbColor& value) {