[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:
Yann Lanthony 2018-07-09 17:32:34 +02:00
parent 2eb2c3ac6f
commit 346277629a
34 changed files with 41 additions and 70 deletions

View file

@ -3,7 +3,6 @@ from meshroom.core import desc
class CameraRigLocalization(desc.CommandLineNode):
internalFolder = '{cache}/{nodeType}/{uid0}/'
commandLine = 'aliceVision_rigLocalization {allParams}'
inputs = [
@ -171,7 +170,7 @@ class CameraRigLocalization(desc.CommandLineNode):
name='outputAlembic',
label='Output Alembic',
description='''Filename for the SfMData export file (where camera poses will be stored).''',
value='{cache}/{nodeType}/{uid0}/trackedcameras.abc',
value=desc.Node.internalFolder + 'trackedcameras.abc',
uid=[],
),
]