mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
Same fix for MyAvatar class
This commit is contained in:
parent
c570931f35
commit
36a3372f58
1 changed files with 3 additions and 1 deletions
|
@ -1029,7 +1029,9 @@ void MyAvatar::setSkeletonModelURL(const QUrl& skeletonModelURL) {
|
|||
|
||||
void MyAvatar::setAttachmentData(const QVector<AttachmentData>& attachmentData) {
|
||||
Avatar::setAttachmentData(attachmentData);
|
||||
if (QThread::currentThread() != thread()) {
|
||||
if (QThread::currentThread() != thread()) {
|
||||
QMetaObject::invokeMethod(this, "setAttachmentData", Qt::DirectConnection,
|
||||
Q_ARG(const QVector<AttachmentData>, attachmentData));
|
||||
return;
|
||||
}
|
||||
_billboardValid = false;
|
||||
|
|
Loading…
Reference in a new issue