Skip to content

Commit

Permalink
Merge pull request #955 from overte-org/fix/script_avatar_url_getter
Browse files Browse the repository at this point in the history
Fix access check in getSkeletonModelURLFromScript
  • Loading branch information
ksuprynowicz authored May 15, 2024
2 parents f9ffccf + 9bdfc83 commit 8661e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/avatars/src/AvatarData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 8661e8a

Please sign in to comment.