possible fix for invisible other's-avatar bug

This commit is contained in:
Seth Alves 2015-08-18 15:45:17 -07:00
parent a00eb0ca5d
commit 5fcbd37e43

View file

@ -563,6 +563,9 @@ glm::quat Avatar::computeRotationFromBodyToWorldUp(float proportion) const {
}
void Avatar::fixupModelsInScene() {
if (!(_skeletonModel.isRenderable() && getHead()->getFaceModel().isRenderable())) {
return;
}
// check to see if when we added our models to the scene they were ready, if they were not ready, then
// fix them up in the scene