Skip to content

Commit

Permalink
container fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Nov 27, 2024
1 parent c6c3bf1 commit 1def0a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Source/Node/nodes/container/ContainerNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,18 @@ var ContainerNode::getJSONData()
void ContainerNode::loadJSONDataItemInternal(var data)
{
Node::loadJSONDataItemInternal(data);
updateGraph();
nodeManager->loadJSONData(data.getProperty("manager", var()));

}

void ContainerNode::afterLoadJSONDataInternal()
{
Node::afterLoadJSONDataInternal();
updateGraph();
updateAudioInputs();
updateAudioOutputs();
}


BaseNodeViewUI* ContainerNode::createViewUI()
{
Expand Down
1 change: 1 addition & 0 deletions Source/Node/nodes/container/ContainerNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ContainerNode :

var getJSONData() override;
void loadJSONDataItemInternal(var data) override;
void afterLoadJSONDataInternal() override;

DECLARE_TYPE("Container");

Expand Down

0 comments on commit 1def0a5

Please sign in to comment.