| 226 | } |
| 227 | |
| 228 | bool AnimationGraph::Save(const StringView& path) |
| 229 | { |
| 230 | if (OnCheckSave(path)) |
| 231 | return true; |
| 232 | ScopeLock lock(Locker); |
| 233 | MemoryWriteStream writeStream; |
| 234 | if (Graph.Save(&writeStream, true)) |
| 235 | return true; |
| 236 | BytesContainer data; |
| 237 | data.Link(ToSpan(writeStream)); |
| 238 | return SaveSurface(data); |
| 239 | } |
| 240 | |
| 241 | #endif |
no test coverage detected