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

Method RandomizeTargets

Source/Snapshots.cpp:458–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void Snapshots::RandomizeTargets()
459{
460 for (int i = 0; i < mSnapshotControls.size(); ++i)
461 RandomizeControl(mSnapshotControls[i]);
462 for (int i = 0; i < mSnapshotModules.size(); ++i)
463 {
464 for (auto* control : mSnapshotModules[i]->GetUIControls())
465 RandomizeControl(control);
466 }
467}
468
469void Snapshots::RandomizeControl(IUIControl* control)
470{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
GetUIControlsMethod · 0.80

Tested by

no test coverage detected