mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +02:00
[ui] Viewer2D: add check to getImageFile
This commit is contained in:
parent
e3b416026d
commit
d1d78e9a8b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue