mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
Fix skeletonmodelURLchanged signal
This commit is contained in:
parent
b548567f5a
commit
74655bde49
2 changed files with 3 additions and 8 deletions
|
@ -564,6 +564,7 @@ Item {
|
||||||
: hifi.buttons.disabledTextColor[control.colorScheme]
|
: hifi.buttons.disabledTextColor[control.colorScheme]
|
||||||
}
|
}
|
||||||
RalewayBold {
|
RalewayBold {
|
||||||
|
id: rezIconLabel;
|
||||||
anchors.top: rezIcon.bottom;
|
anchors.top: rezIcon.bottom;
|
||||||
anchors.topMargin: -4;
|
anchors.topMargin: -4;
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
|
@ -575,13 +576,7 @@ Item {
|
||||||
size: 15;
|
size: 15;
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: {
|
text: MyAvatar.skeletonModelURL === root.itemHref ? "CURRENT" : (root.buttonTextNormal)[itemTypesArray.indexOf(root.itemType)];
|
||||||
if (MyAvatar.skeletonModelURL === root.itemHref) {
|
|
||||||
"CURRENT";
|
|
||||||
} else {
|
|
||||||
(root.buttonTextNormal)[itemTypesArray.indexOf(root.itemType)];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ void MyAvatar::setSkeletonModelURL(const QUrl& skeletonModelURL) {
|
||||||
});
|
});
|
||||||
saveAvatarUrl();
|
saveAvatarUrl();
|
||||||
emit skeletonChanged();
|
emit skeletonChanged();
|
||||||
|
emit skeletonModelURLChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyAvatar::removeAvatarEntities() {
|
void MyAvatar::removeAvatarEntities() {
|
||||||
|
|
Loading…
Reference in a new issue