don't update avatar entities if the avatars ID is AVATAR_SELF_ID

This commit is contained in:
Dante Ruiz 2018-02-15 15:02:45 -08:00
parent 8a95920c31
commit e4db09fef8

View file

@ -219,7 +219,7 @@ void Avatar::updateAvatarEntities() {
return;
}
if (getID() == QUuid()) {
if (getID() == QUuid() || getID() == AVATAR_SELF_ID) {
return; // wait until MyAvatar gets an ID before doing this.
}