| 594 | } |
| 595 | |
| 596 | void EffectChain::SaveLayout(ofxJSONElement& moduleInfo) |
| 597 | { |
| 598 | moduleInfo["effects"].resize((unsigned int)mEffects.size()); |
| 599 | for (int i = 0; i < mEffects.size(); ++i) |
| 600 | { |
| 601 | ofxJSONElement save; |
| 602 | mEffects[i]->SaveLayoutBase(save); |
| 603 | moduleInfo["effects"][i] = save; |
| 604 | moduleInfo["effects"][i]["type"] = mEffects[i]->GetType(); |
| 605 | } |
| 606 | } |
nothing calls this directly
no test coverage detected