[nodes] CameraInit: Use node's internal folder instead of the description's

This commit is contained in:
Candice Bentéjac 2025-01-13 17:12:23 +01:00
parent 23901c502b
commit dafb7be688

View file

@ -671,7 +671,7 @@ The needed metadata are:
"featureFolder": "",
"matchingFolder": "",
}
node.viewpointsFile = os.path.join(node.nodeDesc.internalFolder, 'viewpoints.sfm').format(**node._cmdVars)
node.viewpointsFile = os.path.join(node.internalFolder, 'viewpoints.sfm').format(**node._cmdVars)
with open(node.viewpointsFile, 'w') as f:
json.dump(sfmData, f, indent=4)