History

Merge branch 'master' of https://github.com/highfidelity/hifi

Andrzej Kapolka committed 12 years ago

Commit 8efc4d52 parents d80b52d 4fc54442 files · +27 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+4−2
@@ -4206,7 +4206,9 @@ void Application::reloadAllScripts() { · 4205 unmodified lines
42064206 scriptAction->activate(QAction::Trigger);
42074207 qDebug() << "stopping script..." << scriptAction->text();
42084208 }
4209− _activeScripts.clear();
4209+
4210+ // NOTE: we don't need to clear the _activeScripts list because that is handled on script shutdown.
4211+
42104212 foreach (QString scriptName, reloadList){
42114213 qDebug() << "reloading script..." << scriptName;
42124214 loadScript(scriptName);
@@ -4214,7 +4216,7 @@ void Application::reloadAllScripts() { · 1 unmodified line
42144216 }
42154217
42164218 void Application::removeScriptName(const QString& fileNameString) {
4217− _activeScripts.removeOne(fileNameString);
4219+ _activeScripts.removeOne(fileNameString);
42184220 }
42194221
42204222 void Application::loadScript(const QString& fileNameString) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t