mirror of
https://github.com/overte-org/overte.git
synced 2025-08-03 22:23:31 +02:00
Log requested ATP mapping of model upload
This commit is contained in:
parent
d02e217b49
commit
0ec1dc6c85
1 changed files with 2 additions and 1 deletions
|
@ -5603,7 +5603,7 @@ void Application::addAssetToWorldFromURL(QString url) {
|
|||
return;
|
||||
}
|
||||
|
||||
addAssetToWorldInfo(filename, "Downloading asset file " + filename);
|
||||
addAssetToWorldInfo(filename, "Downloading asset file " + filename + ".");
|
||||
|
||||
auto request = ResourceManager::createResourceRequest(nullptr, QUrl(url));
|
||||
connect(request, &ResourceRequest::finished, this, &Application::addAssetToWorldFromURLRequestFinished);
|
||||
|
@ -5715,6 +5715,7 @@ void Application::addAssetToWorldWithNewMapping(QString path, QString mapping, i
|
|||
}
|
||||
|
||||
void Application::addAssetToWorldUpload(QString path, QString mapping) {
|
||||
qInfo(interfaceapp) << "Uploading" << path << "to Asset Server as" << mapping;
|
||||
auto upload = DependencyManager::get<AssetClient>()->createUpload(path);
|
||||
QObject::connect(upload, &AssetUpload::finished, this, [=](AssetUpload* upload, const QString& hash) mutable {
|
||||
if (upload->getError() != AssetUpload::NoError) {
|
||||
|
|
Loading…
Reference in a new issue