[Node] Add command to trigger reload of remote nodes
- fixed a typo
This commit is contained in:
parent
e92a2fe7ff
commit
bb34e0416f
@ -4,7 +4,7 @@
|
||||
## Commit message style
|
||||
|
||||
```
|
||||
[module] Imperative summary
|
||||
[Module] Imperative summary
|
||||
|
||||
- points or text
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user