mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
fix to default avatar model
This commit is contained in:
parent
6b3a4eb327
commit
691ee87c73
2 changed files with 4 additions and 2 deletions
|
@ -968,9 +968,10 @@ bool AvatarData::hasIdentityChangedAfterParsing(const QByteArray& data) {
|
|||
|
||||
bool hasIdentityChanged = false;
|
||||
|
||||
if (skeletonModelURL != _skeletonModelURL) {
|
||||
if (_firstSkeletonCheck || (skeletonModelURL != _skeletonModelURL)) {
|
||||
setSkeletonModelURL(skeletonModelURL);
|
||||
hasIdentityChanged = true;
|
||||
_firstSkeletonCheck = false;
|
||||
}
|
||||
|
||||
if (displayName != _displayName) {
|
||||
|
|
|
@ -368,7 +368,8 @@ protected:
|
|||
|
||||
HeadData* _headData;
|
||||
|
||||
QUrl _skeletonModelURL; // These need to be empty so that on first time setting them they will not short circuit
|
||||
QUrl _skeletonModelURL;
|
||||
bool _firstSkeletonCheck { true };
|
||||
QUrl _skeletonFBXURL;
|
||||
QVector<AttachmentData> _attachmentData;
|
||||
QString _displayName;
|
||||
|
|
Loading…
Reference in a new issue