Fix AvatarData::getSkeletonModelURLFromScript

This commit is contained in:
ksuprynowicz 2024-05-10 22:14:38 +02:00
parent f9ffccfe00
commit 9bdfc8344a

View file

@ -2107,7 +2107,7 @@ const QUrl& AvatarData::getSkeletonModelURL() const {
}
QString AvatarData::getSkeletonModelURLFromScript() const {
if (isMyAvatar() && !isMyAvatarURLProtected() && DependencyManager::get<NodeList>()->getThisNodeCanViewAssetURLs()) {
if (isMyAvatar() && !isMyAvatarURLProtected()) {
return _skeletonModelURL.toString();
}