mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #967 from ey6es/blendface
Fix for face model sending.
This commit is contained in:
commit
873b56e39f
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((const char*)&ownerID, sizeof(ownerID));
|
||||
|
||||
QDataStream out(&message, QIODevice::WriteOnly);
|
||||
QDataStream out(&message, QIODevice::WriteOnly | QIODevice::Append);
|
||||
out << voxelURL;
|
||||
out << faceURL;
|
||||
|
||||
|
|
|
@ -20,6 +20,8 @@ BlendFace::BlendFace(Head* owningHead) :
|
|||
_modelReply(NULL),
|
||||
_iboID(0)
|
||||
{
|
||||
// we may have been created in the network thread, but we live in the main thread
|
||||
moveToThread(Application::getInstance()->thread());
|
||||
}
|
||||
|
||||
BlendFace::~BlendFace() {
|
||||
|
|
Loading…
Reference in a new issue