mirror of
https://github.com/lubosz/overte.git
synced 2025-08-16 05:51:06 +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) {
|
void MyAvatar::setAttachmentData(const QVector<AttachmentData>& attachmentData) {
|
||||||
Avatar::setAttachmentData(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;
|
return;
|
||||||
}
|
}
|
||||||
_billboardValid = false;
|
_billboardValid = false;
|
||||||
|
|
Loading…
Reference in a new issue