mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
[nodes] use 'desc.Node.internalFolder' in outputs values
* avoid duplicating the same string everywhere * don't override 'internalFolder' with the same value default value in subclasses
This commit is contained in:
parent
2eb2c3ac6f
commit
346277629a
34 changed files with 41 additions and 70 deletions
|
@ -3,7 +3,6 @@ from meshroom.core import desc
|
|||
|
||||
|
||||
class FeatureMatching(desc.CommandLineNode):
|
||||
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
||||
commandLine = 'aliceVision_featureMatching {allParams}'
|
||||
size = desc.DynamicNodeSize('input')
|
||||
parallelization = desc.Parallelization(blockSize=20)
|
||||
|
@ -144,7 +143,7 @@ class FeatureMatching(desc.CommandLineNode):
|
|||
name='output',
|
||||
label='Output Folder',
|
||||
description='Path to a folder in which computed matches will be stored.',
|
||||
value='{cache}/{nodeType}/{uid0}/',
|
||||
value=desc.Node.internalFolder,
|
||||
uid=[],
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue