mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 17:04:20 +02:00
Fix for face model sending.
This commit is contained in:
parent
4f3909b682
commit
df0b2f4eec
2 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,7 @@ void Avatar::sendAvatarURLsMessage(const QUrl& voxelURL, const QUrl& faceURL) {
|
||||||
message.append(packetHeader, numBytesPacketHeader);
|
message.append(packetHeader, numBytesPacketHeader);
|
||||||
message.append((const char*)&ownerID, sizeof(ownerID));
|
message.append((const char*)&ownerID, sizeof(ownerID));
|
||||||
|
|
||||||
QDataStream out(&message, QIODevice::WriteOnly);
|
QDataStream out(&message, QIODevice::WriteOnly | QIODevice::Append);
|
||||||
out << voxelURL;
|
out << voxelURL;
|
||||||
out << faceURL;
|
out << faceURL;
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@ BlendFace::BlendFace(Head* owningHead) :
|
||||||
_modelReply(NULL),
|
_modelReply(NULL),
|
||||||
_iboID(0)
|
_iboID(0)
|
||||||
{
|
{
|
||||||
|
// we may have been created in the network thread, but we live in the main thread
|
||||||
|
moveToThread(Application::getInstance()->thread());
|
||||||
}
|
}
|
||||||
|
|
||||||
BlendFace::~BlendFace() {
|
BlendFace::~BlendFace() {
|
||||||
|
|
Loading…
Reference in a new issue