mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 15:59:57 +02:00
Log requested ATP mapping of model upload
This commit is contained in:
parent
5af57d7bbc
commit
17c54a5fae
1 changed files with 2 additions and 1 deletions
|
@ -5552,7 +5552,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);
|
||||
|
@ -5664,6 +5664,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