Skip to content

Commit 2bffede

Browse files
author
Fabien Servant
committed
Display for roma
1 parent 00e0beb commit 2bffede

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

meshroom/ui/qml/Viewer/Viewer2D.qml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,11 @@ FocusScope {
11281128
if (activeNode) {
11291129
if (activeNode.nodeType == "FeatureExtraction" && isComputed) {
11301130
result.push(activeNode.attribute("output").value)
1131-
} else if (activeNode.hasAttribute("featuresFolders")) {
1131+
}
1132+
else if (activeNode.nodeType == "RomaSampler" && isComputed) {
1133+
result.push(activeNode.attribute("featuresFolder").value)
1134+
}
1135+
else if (activeNode.hasAttribute("featuresFolders")) {
11321136
for (let i = 0; i < activeNode.attribute("featuresFolders").value.count; i++) {
11331137
let attr = activeNode.attribute("featuresFolders").value.at(i)
11341138
result.push(attr.value)

meshroom/ui/reconstruction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ class Reconstruction(UIGraph):
457457
# All nodes generating depth map files
458458
"allDepthMap": ["DepthMap", "DepthMapFilter"],
459459
# Nodes that can be used to provide features folders to the UI
460-
"featureProvider": ["FeatureExtraction", "FeatureMatching", "StructureFromMotion"],
460+
"featureProvider": ["FeatureExtraction", "FeatureMatching", "StructureFromMotion", "RomaSampler"],
461461
# Nodes that can be used to provide matches folders to the UI
462-
"matchProvider": ["FeatureMatching", "StructureFromMotion"],
462+
"matchProvider": ["FeatureMatching", "StructureFromMotion", "RomaSampler"],
463463
# Nodes that can be used to provide tracks files to the UI
464464
"trackProvider": ["TracksBuilding", "SfMBootstraping", "SfMExpanding"]
465465
}

0 commit comments

Comments
 (0)