[Node] Add command to trigger reload of remote nodes

- fixed a typo
This commit is contained in:
/dev/root 2016-11-15 20:53:11 +01:00
parent e92a2fe7ff
commit bb34e0416f
2 changed files with 9 additions and 2 deletions

View File

@ -4,7 +4,7 @@
## Commit message style
```
[module] Imperative summary
[Module] Imperative summary
- points or text

View File

@ -864,7 +864,7 @@ namespace Components
Command::Add("syncnodes", [] (Command::Params)
{
Logger::Print("Re-Synchronizing nodes...\n");
Logger::Print("Resynchronizing nodes...\n");
std::lock_guard<std::mutex> _(Node::NodeMutex);
for (auto& node : Node::Nodes)
@ -876,6 +876,13 @@ namespace Components
}
});
Command::Add("reloadnodes", [](Command::Params)
{
Logger::Print("Reload remote preset nodes...\n");
Node::LoadNodeRemotePreset();
});
// Install frame handlers
QuickPatch::OnFrame(Node::FrameHandler);