mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 09:47:20 +02:00
Merge pull request #2678 from alicevision/fix/emptyPipelineMenu
[GraphEditor] Only display "Pipelines" menu when templates are available
This commit is contained in:
commit
fb3c1b5718
1 changed files with 3 additions and 1 deletions
|
@ -237,7 +237,9 @@ Item {
|
|||
}
|
||||
|
||||
// Add a "Pipelines" category, filled with the list of templates to create pipelines from the menu
|
||||
categories["Pipelines"] = MeshroomApp.pipelineTemplateNames
|
||||
if (MeshroomApp.pipelineTemplateNames.length > 0) {
|
||||
categories["Pipelines"] = MeshroomApp.pipelineTemplateNames
|
||||
}
|
||||
|
||||
return categories
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue