| 215 | } |
| 216 | |
| 217 | void GridSliders::SaveState(FileStreamOut& out) |
| 218 | { |
| 219 | out << GetModuleSaveStateRev(); |
| 220 | |
| 221 | IDrawableModule::SaveState(out); |
| 222 | |
| 223 | out << (int)mControlCables.size(); |
| 224 | for (auto cable : mControlCables) |
| 225 | { |
| 226 | std::string path = ""; |
| 227 | if (cable->GetTarget()) |
| 228 | path = cable->GetTarget()->Path(); |
| 229 | out << path; |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | void GridSliders::LoadState(FileStreamIn& in, int rev) |
| 234 | { |