mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 16:23:39 +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";
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
//return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
return EXIT_SUCCESS;
|
||||
//return EXIT_SUCCESS;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -1052,6 +1052,8 @@ void AvatarData::setJointMappingsFromNetworkReply() {
|
|||
_jointIndices.insert(_jointNames.at(i), i + 1);
|
||||
}
|
||||
|
||||
sendIdentityPacket();
|
||||
|
||||
networkReply->deleteLater();
|
||||
}
|
||||
|
||||
|
@ -1094,6 +1096,7 @@ void AvatarData::sendIdentityPacket() {
|
|||
void AvatarData::updateJointMappings() {
|
||||
_jointIndices.clear();
|
||||
_jointNames.clear();
|
||||
_jointData.clear();
|
||||
|
||||
if (_skeletonModelURL.fileName().toLower().endsWith(".fst")) {
|
||||
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||
|
|
Loading…
Reference in a new issue