added outputImageTypes in node desc to update the viewer2D imageType combo box when double clicking a node

This commit is contained in:
Loïc Vital 2022-09-16 17:01:07 +02:00 committed by Fabien Castan
parent ab0e132121
commit fc5ab540f5
5 changed files with 18 additions and 1 deletions

View file

@ -890,6 +890,10 @@ ApplicationWindow {
return false;
}
function setImageTypes(types) {
viewer2D.setImageTypes(types);
}
}
}
@ -954,6 +958,8 @@ ApplicationWindow {
nodeTypesModel: _nodeTypes
onNodeDoubleClicked: {
workspaceView.setImageTypes(node.outputImageTypes);
_reconstruction.setActiveNode(node);
let viewable = false;