[ui] Viewer2D: add check to getImageFile

This commit is contained in:
Fabien Castan 2021-01-04 13:47:34 +01:00
parent e3b416026d
commit d1d78e9a8b

View file

@ -123,6 +123,8 @@ FocusScope {
}
function getImageFile(type) {
if(!_reconstruction.activeNodes)
return "";
var depthMapNode = _reconstruction.activeNodes.get('allDepthMap').node;
if (type == "image") {
return root.source;