Merge pull request #5595 from sethalves/fix-inviso-av

possible fix for invisible other's-avatar bug
This commit is contained in:
Philip Rosedale 2015-08-18 21:24:15 -07:00
commit d9425100b6

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