Skip to content

Commit 8f8b7c5

Browse files
committed
Update editors on start/stop recording
1 parent 5d0036a commit 8f8b7c5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,9 +1502,17 @@ void ProcessorGraph::setRecordState(bool isRecording)
15021502
GenericProcessor* p = (GenericProcessor*) node->getProcessor();
15031503

15041504
if (isRecording)
1505+
{
15051506
p->startRecording();
1507+
if (p->getEditor() != nullptr)
1508+
p->getEditor()->startRecording();
1509+
}
15061510
else
1511+
{
15071512
p->stopRecording();
1513+
if (p->getEditor() != nullptr)
1514+
p->getEditor()->stopRecording();
1515+
}
15081516
}
15091517
}
15101518

0 commit comments

Comments
 (0)