| 304 | } |
| 305 | |
| 306 | bool Reader3MF::LoadMeshFromComponents() |
| 307 | { |
| 308 | for (const auto& it : components) { |
| 309 | std::string path = it.path.substr(1); |
| 310 | zip.reset(file->getInputStream(path)); |
| 311 | LoadModel(*zip, it); |
| 312 | } |
| 313 | |
| 314 | return (!meshes.empty()); |
| 315 | } |
| 316 | |
| 317 | void Reader3MF::LoadComponents(DOMNodeList* nodes, int id) |
| 318 | { |
nothing calls this directly
no test coverage detected