mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
possible fix for invisible other's-avatar bug
This commit is contained in:
parent
a00eb0ca5d
commit
5fcbd37e43
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue