| 439 | } |
| 440 | |
| 441 | void Renderer::loadScriptDialog() |
| 442 | { |
| 443 | std::filesystem::path path; |
| 444 | if (openFileDialog(Scripting::kFileExtensionFilters, path)) |
| 445 | { |
| 446 | loadScriptDeferred(path); |
| 447 | mAppData.addRecentScript(path); |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | void Renderer::loadScriptDeferred(const std::filesystem::path& path) |
| 452 | { |
no test coverage detected