mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Don't use cache when user loads script from disk
This commit is contained in:
parent
511ad76092
commit
74515f9089
1 changed files with 1 additions and 1 deletions
|
@ -4589,7 +4589,7 @@ void Application::loadDialog() {
|
|||
QString fileNameString = QFileDialog::getOpenFileName(
|
||||
_glWidget, tr("Open Script"), "", tr("JavaScript Files (*.js)"));
|
||||
if (!fileNameString.isEmpty()) {
|
||||
DependencyManager::get<ScriptEngines>()->loadScript(fileNameString);
|
||||
DependencyManager::get<ScriptEngines>()->loadScript(fileNameString, true, false, false, true); // Don't load from cache
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue