mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +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
|
// Add a "Pipelines" category, filled with the list of templates to create pipelines from the menu
|
||||||
|
if (MeshroomApp.pipelineTemplateNames.length > 0) {
|
||||||
categories["Pipelines"] = MeshroomApp.pipelineTemplateNames
|
categories["Pipelines"] = MeshroomApp.pipelineTemplateNames
|
||||||
|
}
|
||||||
|
|
||||||
return categories
|
return categories
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue