[ui] ColorCheckerViewer: allow to display the ColorChecker without sfmData

If we have used a single image in input of the ColorCheckerDetection,
still allow to display it. In this particular case, there is no notion
of viewId.
This commit is contained in:
Fabien Castan 2021-04-21 18:52:23 +02:00
parent 2f4c73610c
commit ad3e67ee89
2 changed files with 25 additions and 24 deletions

View file

@ -356,7 +356,7 @@ FocusScope {
visible: activeNode.isComputed && json !== undefined && imgContainer.image.status === Image.Ready
source: Filepath.stringToUrl(activeNode.attribute("outputData").value)
image: imgContainer.image
viewId: _reconstruction.selectedViewId
viewpoint: _reconstruction.selectedViewpoint
zoom: imgContainer.scale
updatePane: function() {