[Distortion Viewer] sfmPath empty by default

This commit is contained in:
Thomas Zorroche 2021-01-20 13:05:48 +01:00 committed by Fabien Castan
parent e42c9577b6
commit fbaf76f541

View file

@ -48,14 +48,14 @@ AliceVision.FloatImageViewer {
property int subdivisions: 5; property int subdivisions: 5;
property int pointsNumber: (subdivisions + 1) * (subdivisions + 1); property int pointsNumber: (subdivisions + 1) * (subdivisions + 1);
property string sfmPath: "null" property string sfmPath: ""
function updateSfmPath() { function updateSfmPath() {
var activeNode = _reconstruction.activeNodes.get('sfm').node; var activeNode = _reconstruction.activeNodes.get('sfm').node;
if(!activeNode) if(!activeNode)
{ {
root.sfmPath = "null"; root.sfmPath = "";
} }
else else
{ {