Skip to content

Commit 0021529

Browse files
committed
Fix KWIKFormat crash
1 parent 2d84e7b commit 0021529

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,12 @@ void ProcessorGraph::connectProcessors(GenericProcessor* source, GenericProcesso
491491
midiChannelIndex); // destNodeChannelIndex
492492
}
493493

494+
//3. If dest is a record node, register the processor
495+
if (dest->isRecordNode())
496+
{
497+
((RecordNode*)dest)->registerProcessor(source);
498+
}
499+
494500
}
495501

496502
void ProcessorGraph::connectProcessorToAudioNode(GenericProcessor* source)

0 commit comments

Comments
 (0)