Skip to content

Commit 6cac705

Browse files
authored
Merge pull request #2001 from alicevision/dev/expressionVars
[meshroom] `CameraInit`: Remove `_cmdVars` As a consequence of alicevision/Meshroom#2888, _cmdVars, which was used in CameraInit, does not exist anymore and node.internalFolder now contains the resolved path. There is thus no need to format it anymore.
2 parents fd256ba + 6608974 commit 6cac705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/aliceVision/CameraInit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def createViewpointsFile(self, node, additionalViews=()):
671671
"featureFolder": "",
672672
"matchingFolder": "",
673673
}
674-
node.viewpointsFile = os.path.join(node.internalFolder, 'viewpoints.sfm').format(**node._cmdVars)
674+
node.viewpointsFile = os.path.join(node.internalFolder, 'viewpoints.sfm')
675675
with open(node.viewpointsFile, 'w') as f:
676676
json.dump(sfmData, f, indent=4)
677677

0 commit comments

Comments
 (0)