Skip to content

Commit 6608974

Browse files
committed
[meshroom] CameraInit: Remove _cmdVars
`_cmdVars` does not exist anymore and `node.internalFolder` now contains the resolved path. There is thus no need to format it anymore.
1 parent f24558b commit 6608974

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)