mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
remove href property for non-owned avatar entities
This commit is contained in:
parent
becd99a964
commit
0ab06d624a
1 changed files with 7 additions and 0 deletions
|
@ -286,6 +286,13 @@ void Avatar::updateAvatarEntities() {
|
||||||
properties.setScript(noScript);
|
properties.setScript(noScript);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto specifiedHref = properties.getHref();
|
||||||
|
if (!isMyAvatar() && !specifiedHref.isEmpty()) {
|
||||||
|
qCDebug(avatars_renderer) << "removing entity href from avatar attached entity:" << entityID << "old href:" << specifiedHref;
|
||||||
|
QString noHref;
|
||||||
|
properties.setScript(noHref);
|
||||||
|
}
|
||||||
|
|
||||||
// When grabbing avatar entities, they are parented to the joint moving them, then when un-grabbed
|
// When grabbing avatar entities, they are parented to the joint moving them, then when un-grabbed
|
||||||
// they go back to the default parent (null uuid). When un-gripped, others saw the entity disappear.
|
// they go back to the default parent (null uuid). When un-gripped, others saw the entity disappear.
|
||||||
// The thinking here is the local position was noticed as changing, but not the parentID (since it is now
|
// The thinking here is the local position was noticed as changing, but not the parentID (since it is now
|
||||||
|
|
Loading…
Reference in a new issue