History

Fix typos

Atlante45 committed 9 years ago

Commit ff3f1751 parent 57d324a5 files · +7 −7Browse files

Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 5 files). Show all

Unified · Split

assignment-client/src/scripts/EntityScriptServer.cpp+2−2
@@ -97,7 +97,7 @@ void EntityScriptServer::run() { · 96 unmodified lines
97 auto tree = _entityViewer.getTree().get();97 auto tree = _entityViewer.getTree().get();
98 connect(tree, &EntityTree::deletingEntity, this, &EntityScriptServer::deletingEntity, Qt::QueuedConnection);98 connect(tree, &EntityTree::deletingEntity, this, &EntityScriptServer::deletingEntity, Qt::QueuedConnection);
99 connect(tree, &EntityTree::addingEntity, this, &EntityScriptServer::addingEntity, Qt::QueuedConnection);99 connect(tree, &EntityTree::addingEntity, this, &EntityScriptServer::addingEntity, Qt::QueuedConnection);
100 connect(tree, &EntityTree::entityScriptChanging, this, &EntityScriptServer::entitySciptChanging, Qt::QueuedConnection);100 connect(tree, &EntityTree::entityScriptChanging, this, &EntityScriptServer::entityScriptChanging, Qt::QueuedConnection);
101}101}
102 102
103void EntityScriptServer::nodeActivated(SharedNodePointer activatedNode) {103void EntityScriptServer::nodeActivated(SharedNodePointer activatedNode) {
@@ -222,7 +222,7 @@ void EntityScriptServer::deletingEntity(const EntityItemID& entityID) { · 118 unmodified lines
222 }222 }
223}223}
224 224
225void EntityScriptServer::entitySciptChanging(const EntityItemID& entityID, const bool reload) {225void EntityScriptServer::entityScriptChanging(const EntityItemID& entityID, const bool reload) {
226 if (_entityViewer.getTree() && !_shuttingDown) {226 if (_entityViewer.getTree() && !_shuttingDown) {
227 _entitiesScriptEngine->unloadEntityScript(entityID);227 _entitiesScriptEngine->unloadEntityScript(entityID);
228 checkAndCallPreload(entityID, reload);228 checkAndCallPreload(entityID, reload);