diff --git a/libraries/physics/src/MultiSphereShape.cpp b/libraries/physics/src/MultiSphereShape.cpp index ce00a7c40f..71702ac62b 100644 --- a/libraries/physics/src/MultiSphereShape.cpp +++ b/libraries/physics/src/MultiSphereShape.cpp @@ -508,12 +508,11 @@ void MultiSphereShape::connectEdges(std::vector> } void MultiSphereShape::calculateChamferBox(std::vector>& outLines, const std::vector& radiuses, const std::vector& axes, const glm::vec3& translation) { - std::vector> sphereLines; - if (radiuses.size() == 0) { return; } + std::vector> sphereLines; calculateSphereLines(sphereLines, glm::vec3(0.0f), radiuses[0]); std::vector regions = {