mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
add debugging for mesh and skeleton changes for other Avatars
This commit is contained in:
parent
eccf1e0fac
commit
42c6498fe4
1 changed files with 6 additions and 0 deletions
|
@ -162,6 +162,9 @@ void Profile::processDataServerResponse(const QString& userString, const QString
|
|||
Avatar* avatar = (Avatar *) node->getLinkedData();
|
||||
|
||||
if (avatar->getUUID() == QUuid(userString)) {
|
||||
qDebug() << "Changing mesh to" << valueList[i] << "for avatar with UUID"
|
||||
<< uuidStringWithoutCurlyBraces(avatar->getUUID());
|
||||
|
||||
QMetaObject::invokeMethod(&avatar->getHead().getFaceModel(),
|
||||
"setURL", Q_ARG(QUrl, QUrl(valueList[i])));
|
||||
}
|
||||
|
@ -179,6 +182,9 @@ void Profile::processDataServerResponse(const QString& userString, const QString
|
|||
Avatar* avatar = (Avatar *) node->getLinkedData();
|
||||
|
||||
if (avatar->getUUID() == QUuid(userString)) {
|
||||
qDebug() << "Changing skeleton to" << valueList[i] << "for avatar with UUID"
|
||||
<< uuidStringWithoutCurlyBraces(avatar->getUUID());
|
||||
|
||||
QMetaObject::invokeMethod(&avatar->getSkeletonModel(), "setURL",
|
||||
Q_ARG(QUrl, QUrl(valueList[i])));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue