mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 11:14:01 +02:00
Merge pull request #5595 from sethalves/fix-inviso-av
possible fix for invisible other's-avatar bug
This commit is contained in:
commit
d9425100b6
1 changed files with 3 additions and 0 deletions
|
@ -563,6 +563,9 @@ glm::quat Avatar::computeRotationFromBodyToWorldUp(float proportion) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Avatar::fixupModelsInScene() {
|
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
|
// 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
|
// fix them up in the scene
|
||||||
|
|
Loading…
Reference in a new issue