[ui] FeaturesInfoOverlay: specific display if no FeatureExtraction node ready

This commit is contained in:
Fabien Castan 2020-07-25 18:28:35 +02:00
parent a14364ac2a
commit 48e73a3772

View file

@ -128,7 +128,7 @@ FloatingPane {
if(featureType.viewer.loadingFeatures)
return featureType.viewer.describerType;
return featureType.viewer.describerType + ": " +
featureType.viewer.features.length + " / " +
((featureExtractionNode && featureExtractionNode.isComputed) ? featureType.viewer.features.length : " - ") + " / " +
(featureType.viewer.haveValidTracks ? featureType.viewer.nbTracks : " - ") + " / " +
(featureType.viewer.haveValidLandmarks ? featureType.viewer.nbLandmarks : " - ");
}