mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 15:47:02 +02:00
commit
560c44a74a
2 changed files with 2 additions and 2 deletions
libraries/script-engine/src
|
@ -87,7 +87,7 @@ void ScriptCache::getScriptContents(const QString& scriptOrURL, contentAvailable
|
|||
if (_scriptCache.contains(url) && !forceDownload) {
|
||||
auto scriptContent = _scriptCache[url];
|
||||
lock.unlock();
|
||||
qCDebug(scriptengine) << "Found script in cache:" << url.toString();
|
||||
qCDebug(scriptengine) << "Found script in cache:" << url.fileName();
|
||||
contentAvailable(url.toString(), scriptContent, true, true, STATUS_CACHED);
|
||||
} else {
|
||||
auto& scriptRequest = _activeScriptRequests[url];
|
||||
|
|
|
@ -1605,7 +1605,7 @@ QScriptValue ScriptEngine::newModule(const QString& modulePath, const QScriptVal
|
|||
auto closure = newObject();
|
||||
auto exports = newObject();
|
||||
auto module = newObject();
|
||||
qCDebug(scriptengine_module) << "newModule" << modulePath << parent.property("filename").toString();
|
||||
qCDebug(scriptengine_module) << "newModule" << parent.property("filename").toString();
|
||||
|
||||
closure.setProperty("module", module, READONLY_PROP_FLAGS);
|
||||
|
||||
|
|
Loading…
Reference in a new issue