diff --git a/meshroom/nodes/aliceVision/CameraInit.py b/meshroom/nodes/aliceVision/CameraInit.py index 91cf5fef..9ff8a834 100644 --- a/meshroom/nodes/aliceVision/CameraInit.py +++ b/meshroom/nodes/aliceVision/CameraInit.py @@ -159,7 +159,7 @@ The metadata needed are: name='sensorDatabase', label='Sensor Database', description='''Camera sensor width database path.''', - value=os.environ.get('ALICEVISION_SENSOR_DB', ''), + value='${ALICEVISION_SENSOR_DB}', uid=[], ), desc.FloatParam( diff --git a/meshroom/nodes/aliceVision/CameraLocalization.py b/meshroom/nodes/aliceVision/CameraLocalization.py index 3afe3070..d8aabe9a 100644 --- a/meshroom/nodes/aliceVision/CameraLocalization.py +++ b/meshroom/nodes/aliceVision/CameraLocalization.py @@ -125,7 +125,7 @@ class CameraLocalization(desc.CommandLineNode): name='voctree', label='Voctree', description='''[voctree] Filename for the vocabulary tree''', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[0], ), desc.File( diff --git a/meshroom/nodes/aliceVision/CameraRigCalibration.py b/meshroom/nodes/aliceVision/CameraRigCalibration.py index 9b5eecc6..117457c3 100644 --- a/meshroom/nodes/aliceVision/CameraRigCalibration.py +++ b/meshroom/nodes/aliceVision/CameraRigCalibration.py @@ -109,7 +109,7 @@ class CameraRigCalibration(desc.CommandLineNode): name='voctree', label='Voctree', description='''[voctree] Filename for the vocabulary tree''', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[0], ), desc.File( diff --git a/meshroom/nodes/aliceVision/CameraRigLocalization.py b/meshroom/nodes/aliceVision/CameraRigLocalization.py index e5a4dd37..6cff2d31 100644 --- a/meshroom/nodes/aliceVision/CameraRigLocalization.py +++ b/meshroom/nodes/aliceVision/CameraRigLocalization.py @@ -116,7 +116,7 @@ class CameraRigLocalization(desc.CommandLineNode): name='voctree', label='Voctree', description='''[voctree] Filename for the vocabulary tree''', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[0], ), desc.File( diff --git a/meshroom/nodes/aliceVision/ImageMatching.py b/meshroom/nodes/aliceVision/ImageMatching.py index c09c701d..f2ac0d94 100644 --- a/meshroom/nodes/aliceVision/ImageMatching.py +++ b/meshroom/nodes/aliceVision/ImageMatching.py @@ -74,7 +74,7 @@ If images have known poses, use frustum intersection else use VocabularuTree. name='tree', label='Voc Tree: Tree', description='Input name for the vocabulary tree file.', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[], enabled=lambda node: 'VocabularyTree' in node.method.value, ), diff --git a/meshroom/nodes/aliceVision/ImageMatchingMultiSfM.py b/meshroom/nodes/aliceVision/ImageMatchingMultiSfM.py index f4e23bb9..313534b1 100644 --- a/meshroom/nodes/aliceVision/ImageMatchingMultiSfM.py +++ b/meshroom/nodes/aliceVision/ImageMatchingMultiSfM.py @@ -65,7 +65,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw name='tree', label='Voc Tree: Tree', description='Input name for the vocabulary tree file.', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[], enabled=lambda node: 'VocabularyTree' in node.method.value, ), diff --git a/meshroom/nodes/aliceVision/KeyframeSelection.py b/meshroom/nodes/aliceVision/KeyframeSelection.py index c8635a8c..c855cce3 100644 --- a/meshroom/nodes/aliceVision/KeyframeSelection.py +++ b/meshroom/nodes/aliceVision/KeyframeSelection.py @@ -95,14 +95,14 @@ You can extract frames at regular interval by configuring only the min/maxFrameS name='sensorDbPath', label='Sensor Db Path', description='''Camera sensor width database path.''', - value=os.environ.get('ALICEVISION_SENSOR_DB', ''), + value='${ALICEVISION_SENSOR_DB}', uid=[0], ), desc.File( name='voctreePath', label='Voctree Path', description='''Vocabulary tree path.''', - value=os.environ.get('ALICEVISION_VOCTREE', ''), + value='${ALICEVISION_VOCTREE}', uid=[0], ), desc.BoolParam(