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

Method UpdateOldControlName

Source/EffectChain.cpp:527–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527void EffectChain::UpdateOldControlName(std::string& oldName)
528{
529 IDrawableModule::UpdateOldControlName(oldName);
530
531 if (oldName.size() > 2 && oldName[0] == 'd' && oldName[1] == 'w')
532 ofStringReplace(oldName, "dw", "mix");
533}
534
535void EffectChain::LoadBasics(const ofxJSONElement& moduleInfo, std::string typeName)
536{

Callers

nothing calls this directly

Calls 2

ofStringReplaceFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected