Showing the changes to libraries/script-engine/src/AssetScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -50,10 +50,6 @@ void AssetScriptingInterface::downloadData(QString urlString, QScriptValue callb · 49 unmodified lines | ||
| 50 | 50 | auto parts = path.split(".", QString::SkipEmptyParts); |
| 51 | 51 | auto hash = parts.length() > 0 ? parts[0] : ""; |
| 52 | 52 | |
| 53 | − if (hash.length() != SHA256_HASH_HEX_LENGTH) { | |
| 54 | − return; | |
| 55 | − } | |
| 56 | − | |
| 57 | 53 | auto assetClient = DependencyManager::get<AssetClient>(); |
| 58 | 54 | auto assetRequest = assetClient->createRequest(hash); |
| 59 | 55 | |