| 343 | //------------------------------------------------------------------------------ |
| 344 | |
| 345 | void LuxCoreApp::MenuImagePipelines() { |
| 346 | const unsigned int imagePipelineCount = session->GetFilm().GetChannelCount(Film::CHANNEL_IMAGEPIPELINE); |
| 347 | |
| 348 | for (unsigned int i = 0; i < imagePipelineCount; ++i) { |
| 349 | if (ImGui::MenuItem(string("Pipeline #" + ToString(i)).c_str(), NULL, (i == imagePipelineIndex))) |
| 350 | imagePipelineIndex = i; |
| 351 | } |
| 352 | |
| 353 | if (imagePipelineIndex > imagePipelineCount) |
| 354 | imagePipelineIndex = 0; |
| 355 | } |
| 356 | |
| 357 | //------------------------------------------------------------------------------ |
| 358 | // MenuScreen |
nothing calls this directly
no test coverage detected