mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 12:11:31 +02:00
Work around MyAvatar not being available in avatar preference control
This commit is contained in:
parent
e445fe551f
commit
62f91b4af6
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ Preference {
|
|||
|
||||
Component.onCompleted: {
|
||||
dataTextField.text = preference.value;
|
||||
console.log("MyAvatar modelName " + MyAvatar.getFullAvatarModelName())
|
||||
// FIXME: MyAvatar object isn't available in HMD mode for some reason.
|
||||
if (typeof MyAvatar !== "undefined") {
|
||||
console.log("MyAvatar modelName " + MyAvatar.getFullAvatarModelName())
|
||||
}
|
||||
console.log("Application : " + ApplicationInterface)
|
||||
ApplicationInterface.fullAvatarURLChanged.connect(processNewAvatar);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue