mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Fix for URL decoding.
This commit is contained in:
parent
b9e2e26ab1
commit
6c3425a642
1 changed files with 1 additions and 1 deletions
|
@ -1015,7 +1015,7 @@ static void processAvatarVoxelURLMessage(unsigned char *packetData, size_t dataB
|
|||
if (!avatar->isInitialized()) {
|
||||
return; // wait until initialized
|
||||
}
|
||||
QUrl url = QUrl::fromEncoded(QByteArray::fromRawData((char*)packetData, dataBytes));
|
||||
QUrl url = QUrl::fromEncoded(QByteArray((char*)packetData, dataBytes));
|
||||
|
||||
// invoke the set URL function on the simulate/render thread
|
||||
QMetaObject::invokeMethod(avatar->getVoxels(), "setVoxelURL", Q_ARG(QUrl, url));
|
||||
|
|
Loading…
Reference in a new issue