Skip to content

Commit 36b0bd8

Browse files
committed
WIP: Fix bugs
1 parent db8a7c9 commit 36b0bd8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ void ProcessorGraph::updateUndoableActions (int nodeId)
10831083
for (auto action : getUndoableActions (nodeId))
10841084
{
10851085
GenericProcessor* p = getProcessorWithNodeId (nodeId);
1086-
p->update();
1086+
//p->update();
10871087
action->restoreOwner (p);
10881088
}
10891089
}

Source/Processors/RecordNode/RecordNode.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ void RecordNode::parameterValueChanged (Parameter* p)
146146
{
147147
int selectedIdx = ((CategoricalParameter*) p)->getSelectedIndex();
148148
setEngine (getAvailableRecordEngines()[selectedIdx]->getID());
149-
createNewDirectory();
149+
// NOTE: Any record engine change will create a new directory for all record nodes to prevent data loss in edge cases
150+
CoreServices::createNewRecordingDirectory();
150151
}
151152
else if (p->getName() == "events")
152153
{

0 commit comments

Comments
 (0)