MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ClearCircularDependencyMarkers

Method ClearCircularDependencyMarkers

Source/ModularSynth.cpp:2346–2354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2344}
2345
2346void ModularSynth::ClearCircularDependencyMarkers()
2347{
2348 for (int i = 0; i < mSources.size(); ++i)
2349 {
2350 IDrawableModule* module = dynamic_cast<IDrawableModule*>(mSources[i]);
2351 for (int j = 0; j < (int)module->GetPatchCableSources().size(); ++j)
2352 module->GetPatchCableSource(j)->SetIsPartOfCircularDependency(false);
2353 }
2354}
2355
2356void ModularSynth::ResetLayout()
2357{

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.80
GetPatchCableSourcesMethod · 0.80
GetPatchCableSourceMethod · 0.45

Tested by

no test coverage detected