mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 09:29:16 +02:00
ensure joint mapping is processed for current FST url
This commit is contained in:
parent
f9230eca7f
commit
de6fe43dda
1 changed files with 7 additions and 0 deletions
|
@ -2034,6 +2034,13 @@ void AvatarData::setJointMappingsFromNetworkReply() {
|
|||
|
||||
QNetworkReply* networkReply = static_cast<QNetworkReply*>(sender());
|
||||
|
||||
// before we process this update, make sure that the skeleton model URL hasn't changed
|
||||
// since we made the FST request
|
||||
if (networkReply->url() != _skeletonModelURL) {
|
||||
qCDebug(avatars) << "Refusing to set joint mappings for FST URL that does not match the current URL";
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
QWriteLocker writeLock(&_jointDataLock);
|
||||
QByteArray line;
|
||||
|
|
Loading…
Reference in a new issue