Skip to content

Commit

Permalink
[HDR Calibration node]
Browse files Browse the repository at this point in the history
Bypass management
  • Loading branch information
demoulinv committed Jan 18, 2023
1 parent e061f22 commit cf61ffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meshroom/nodes/aliceVision/LdrToHdrCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class LdrToHdrCalibration(desc.AVCommandLineNode):
description="Bypass HDR creation and use the medium bracket as the source for the next steps",
value=False,
uid=[0],
group='internal',
enabled= lambda node: node.nbBrackets.value != 1,
),
desc.ChoiceParam(
Expand Down Expand Up @@ -158,7 +157,7 @@ class LdrToHdrCalibration(desc.AVCommandLineNode):
]

def processChunk(self, chunk):
if chunk.node.nbBrackets.value == 1 or chunk.node.byPass.value:
if chunk.node.nbBrackets.value == 1:
return
super(LdrToHdrCalibration, self).processChunk(chunk)

Expand Down

0 comments on commit cf61ffa

Please sign in to comment.