mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 18:51:35 +02:00
Merge pull request #15759 from zfox23/SUI/autoSwitchAvatar2
BUGZ-658: Don't let the user switch avatar models to Woody
This commit is contained in:
commit
fcda85a3d1
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@ Rectangle {
|
||||||
|
|
||||||
onSkeletonModelURLChanged: {
|
onSkeletonModelURLChanged: {
|
||||||
root.updatePreviewUrl();
|
root.updatePreviewUrl();
|
||||||
|
|
||||||
|
if (MyAvatar.skeletonModelURL.indexOf("defaultAvatar" > -1) && topBarInventoryModel.count > 0) {
|
||||||
|
Settings.setValue("simplifiedUI/alreadyAutoSelectedAvatar", true);
|
||||||
|
MyAvatar.skeletonModelURL = topBarInventoryModel.get(0).download_url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue