mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:17:35 +02:00
trying to fix skeleton switching bug
This commit is contained in:
parent
fc1a154a6a
commit
dc9121433d
2 changed files with 5 additions and 2 deletions
|
@ -90,11 +90,11 @@ int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
qDebug() << "Interface instance appears to be running, exiting";
|
qDebug() << "Interface instance appears to be running, exiting";
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
//return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
return EXIT_SUCCESS;
|
//return EXIT_SUCCESS;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1052,6 +1052,8 @@ void AvatarData::setJointMappingsFromNetworkReply() {
|
||||||
_jointIndices.insert(_jointNames.at(i), i + 1);
|
_jointIndices.insert(_jointNames.at(i), i + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sendIdentityPacket();
|
||||||
|
|
||||||
networkReply->deleteLater();
|
networkReply->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1094,6 +1096,7 @@ void AvatarData::sendIdentityPacket() {
|
||||||
void AvatarData::updateJointMappings() {
|
void AvatarData::updateJointMappings() {
|
||||||
_jointIndices.clear();
|
_jointIndices.clear();
|
||||||
_jointNames.clear();
|
_jointNames.clear();
|
||||||
|
_jointData.clear();
|
||||||
|
|
||||||
if (_skeletonModelURL.fileName().toLower().endsWith(".fst")) {
|
if (_skeletonModelURL.fileName().toLower().endsWith(".fst")) {
|
||||||
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||||
|
|
Loading…
Reference in a new issue