mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 13:56:24 +02:00
Side-effect new value before emit.
This commit is contained in:
parent
51782bd17d
commit
d0675c7f22
1 changed files with 1 additions and 1 deletions
|
@ -1188,10 +1188,10 @@ void MyAvatar::clearScriptableSettings() {
|
|||
}
|
||||
|
||||
void MyAvatar::setCollisionSoundURL(const QString& url) {
|
||||
_collisionSoundURL = url;
|
||||
if (!url.isEmpty() && (url != _collisionSoundURL)) {
|
||||
emit newCollisionSoundURL(QUrl(url));
|
||||
}
|
||||
_collisionSoundURL = url;
|
||||
}
|
||||
|
||||
void MyAvatar::attach(const QString& modelURL, const QString& jointName, const glm::vec3& translation,
|
||||
|
|
Loading…
Reference in a new issue