mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
quiet some debug
This commit is contained in:
parent
ee30fe4a56
commit
92a5a999c6
3 changed files with 3 additions and 3 deletions
|
@ -242,7 +242,7 @@ QScriptValue EntityTreeRenderer::loadEntityScript(EntityItemPointer entity, bool
|
|||
QString scriptContents = loadScriptContents(entityScript, isURL, isPending, url, reload);
|
||||
|
||||
if (isPending && isPreload && isURL) {
|
||||
qDebug() << "attempted to load script, isPending, _waitingOnPreload.insert() url:" << url << "entityID:" << entityID;
|
||||
//qDebug() << "attempted to load script, isPending, _waitingOnPreload.insert() url:" << url << "entityID:" << entityID;
|
||||
_waitingOnPreload.insert(url, entityID);
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ void ScriptCache::scriptDownloaded() {
|
|||
qCDebug(scriptengine) << "Done downloading script at:" << url.toString();
|
||||
|
||||
foreach(ScriptUser* user, scriptUsers) {
|
||||
// FIXME: I got a crash here, How do we know that user is still valid?
|
||||
// FIXME - I sometimes get a crash deep below here inside of Qt while evaluating the script
|
||||
user->scriptContentsAvailable(url, _scriptCache[url]);
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -270,7 +270,7 @@ void ScriptEngine::callScriptMethod(QString methodName, QScriptValue script, QSc
|
|||
return;
|
||||
}
|
||||
|
||||
qDebug() << "About to call " << methodName << "() current thread : " << QThread::currentThread() << "engine thread : " << thread();
|
||||
//qDebug() << "About to call " << methodName << "() current thread : " << QThread::currentThread() << "engine thread : " << thread();
|
||||
script.property(methodName).call(script, args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue