mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:59:59 +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) {
|
void MyAvatar::setCollisionSoundURL(const QString& url) {
|
||||||
|
_collisionSoundURL = url;
|
||||||
if (!url.isEmpty() && (url != _collisionSoundURL)) {
|
if (!url.isEmpty() && (url != _collisionSoundURL)) {
|
||||||
emit newCollisionSoundURL(QUrl(url));
|
emit newCollisionSoundURL(QUrl(url));
|
||||||
}
|
}
|
||||||
_collisionSoundURL = url;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyAvatar::attach(const QString& modelURL, const QString& jointName, const glm::vec3& translation,
|
void MyAvatar::attach(const QString& modelURL, const QString& jointName, const glm::vec3& translation,
|
||||||
|
|
Loading…
Reference in a new issue