| 612 | } |
| 613 | |
| 614 | std::vector<std::string> Testbed::getImportPaths() const |
| 615 | { |
| 616 | if (mpScene == nullptr) |
| 617 | return std::vector<std::string>(); |
| 618 | |
| 619 | const std::vector<std::filesystem::path>& paths(mpScene->getImportPaths()); |
| 620 | std::vector<std::string> ret; |
| 621 | |
| 622 | // Convert vector of std::filesytem::paths to vector of std::string |
| 623 | std::for_each(paths.begin(), paths.end(), [&](const std::filesystem::path& path) { ret.push_back(path.string()); }); |
| 624 | |
| 625 | return ret; |
| 626 | } |
| 627 | |
| 628 | std::vector<pybind11::dict> Testbed::getImportDicts() const |
| 629 | { |