Merge pull request #2693 from alicevision/dev/relativePathsUpdate

[nodes] Replace `desc.Node.internalFolder` with `{nodeCacheFolder}`
This commit is contained in:
Fabien Castan 2025-03-10 15:05:33 +01:00 committed by GitHub
commit 08614a398d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -69,14 +69,14 @@ class ExportImages(desc.AVCommandLineNode):
name="output",
label="Images Folder",
description="Output folder.",
value=desc.Node.internalFolder,
value="{nodeCacheFolder}",
),
desc.File(
name="undistorted",
label="Undistorted Images",
description="List of undistorted images.",
semantic="image",
value=desc.Node.internalFolder + "<VIEW_ID>.{outputFileTypeValue}",
value="{nodeCacheFolder}/<VIEW_ID>.{outputFileTypeValue}",
group="",
advanced=True,
),

View file

@ -56,12 +56,12 @@ class IntrinsicsTransforming(desc.AVCommandLineNode):
name="output",
label="Output SfMData",
description="Output SfMData file.",
value=desc.Node.internalFolder + "sfmData.abc",
value="{nodeCacheFolder}/sfmData.abc",
),
desc.File(
name="outputTracks",
label="Output Tracks",
description="Output Tracks file.",
value=desc.Node.internalFolder + "tracksFile.json",
value="{nodeCacheFolder}/tracksFile.json",
),
]