Skip to content

Commit 37a6d9e

Browse files
Merge pull request #2715 from alicevision/fix/defaultCacheFolderBatch
[bin] `meshroom_batch`: Stop using removed `defaultCacheFolder`
2 parents 006288a + 5afd2c1 commit 37a6d9e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

bin/meshroom_batch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ advanced_group.add_argument(
9898
advanced_group.add_argument(
9999
'--cache', metavar='FOLDER', type=str,
100100
default=None,
101-
help='Custom cache folder to write computation results. '
102-
'If not set, the default cache folder will be used: ' + meshroom.core.defaultCacheFolder)
101+
help='Custom cache folder to write computation results.')
103102

104103
advanced_group.add_argument(
105104
'--compute', metavar='<yes/no>', type=lambda x: bool(distutils.util.strtobool(x)), default=True, required=False,
@@ -262,7 +261,7 @@ with meshroom.core.graph.GraphModification(graph):
262261
print("\n")
263262

264263
# setup cache directory
265-
graph.cacheDir = args.cache if args.cache else meshroom.core.defaultCacheFolder
264+
graph.cacheDir = args.cache if args.cache else ""
266265

267266
if args.save:
268267
graph.save(args.save, setupProjectFile=not bool(args.cache))

0 commit comments

Comments
 (0)