Skip to content

Commit

Permalink
[nodes] PanoramaInit: Disable "buildContactSheet" when there is no XML
Browse files Browse the repository at this point in the history
Additionally fix the case of the "buildContactSheet" label and improve
the description.
  • Loading branch information
cbentejac committed Mar 29, 2023
1 parent 01c1673 commit 3925a73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meshroom/nodes/aliceVision/PanoramaInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ class PanoramaInit(desc.AVCommandLineNode):
),
desc.BoolParam(
name='buildContactSheet',
label='Build contact sheet',
description="Build contact sheet for panorama",
label='Build Contact Sheet',
description='Build the contact sheet for the panorama if an XML data file is provided.\n'
'The contact sheet consists in a preview of the panorama using the input images.',
value=True,
uid=[0],
enabled=lambda node: node.config.value != ''
),
desc.ListAttribute(
elementDesc=desc.IntParam(
Expand Down

0 comments on commit 3925a73

Please sign in to comment.