mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 06:32:57 +02:00
Fix avatar crash
This commit is contained in:
parent
c36afe76e1
commit
ac9229ace0
1 changed files with 4 additions and 1 deletions
|
@ -486,7 +486,10 @@ void MultiSphereShape::calculateDebugLines() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (radiuses.size() == 0) {
|
||||
radiuses.push_back(0.0f);
|
||||
}
|
||||
calculateChamferBox(_debugLines, radiuses, axes, _midPoint);
|
||||
} else if (_spheres.size() == 8) {
|
||||
std::vector<glm::vec3> axes;
|
||||
|
|
Loading…
Reference in a new issue