[Node] Add command to trigger reload of remote nodes
- fixed a typo
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user