mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-19 18:49:52 -06:00
Remove warnings
This commit is contained in:
@@ -699,8 +699,12 @@ void OpenSpaceEngine::loadSingleAsset(const std::string& assetPath) {
|
||||
progressInfo.progress = (*it)->progress();
|
||||
|
||||
if ((*it)->nTotalBytesIsKnown()) {
|
||||
progressInfo.currentSize = static_cast<float>((*it)->nSynchronizedBytes());
|
||||
progressInfo.totalSize = static_cast<float>((*it)->nTotalBytes());
|
||||
progressInfo.currentSize = static_cast<int>(
|
||||
(*it)->nSynchronizedBytes()
|
||||
);
|
||||
progressInfo.totalSize = static_cast<int>(
|
||||
(*it)->nTotalBytes()
|
||||
);
|
||||
}
|
||||
|
||||
loading = true;
|
||||
|
||||
Reference in New Issue
Block a user