From 9f568c7ec6bae403711bc5efcef79be1904b37ed Mon Sep 17 00:00:00 2001 From: demoulinv Date: Thu, 2 Feb 2023 10:55:29 +0100 Subject: [PATCH] [imageProcessing] Update some parameter enabling --- meshroom/nodes/aliceVision/ImageProcessing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshroom/nodes/aliceVision/ImageProcessing.py b/meshroom/nodes/aliceVision/ImageProcessing.py index c26e4497..5fe03704 100644 --- a/meshroom/nodes/aliceVision/ImageProcessing.py +++ b/meshroom/nodes/aliceVision/ImageProcessing.py @@ -388,6 +388,7 @@ Convert or apply filtering to the input images. description='''Color Profile database directory path.''', value='${ALICEVISION_COLOR_PROFILE_DB}', uid=[], + enabled=lambda node: (node.rawColorInterpretation.value=='DCPLinearProcessing') or (node.rawColorInterpretation.value=='DCPMetadata'), ), desc.BoolParam( @@ -396,6 +397,7 @@ Convert or apply filtering to the input images. description='If a color profile database is specified but no color profile is found for at least one image, then an error is thrown', value=True, uid=[0], + enabled=lambda node: (node.rawColorInterpretation.value=='DCPLinearProcessing') or (node.rawColorInterpretation.value=='DCPMetadata'), ), desc.BoolParam( @@ -424,7 +426,6 @@ Convert or apply filtering to the input images. values=['linear', 'VNG', 'PPG', 'AHD', 'DCB', 'AHD-Mod', 'AFD', 'VCD', 'Mixed', 'LMMSE', 'AMaZE', 'DHT', 'AAHD', 'none'], exclusive=True, uid=[0], - enabled=lambda node: (node.rawColorInterpretation.value=='DCPLinearProcessing') or (node.rawColorInterpretation.value=='DCPMetadata'), ), desc.ChoiceParam( @@ -435,7 +436,6 @@ Convert or apply filtering to the input images. values=[0, 1, 2, 3, 4, 5, 6, 7, 8], exclusive=True, uid=[0], - enabled=lambda node: (node.rawColorInterpretation.value=='DCPLinearProcessing') or (node.rawColorInterpretation.value=='DCPMetadata'), ), desc.ChoiceParam(