mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[nodes] turn several parameters into Choices
This commit is contained in:
parent
6945cb7738
commit
03058f4860
3 changed files with 10 additions and 5 deletions
|
@ -119,11 +119,13 @@ class FeatureMatching(desc.CommandLineNode):
|
|||
value=False,
|
||||
uid=[],
|
||||
),
|
||||
desc.StringParam(
|
||||
desc.ChoiceParam(
|
||||
name='fileExtension',
|
||||
label='File Extension',
|
||||
description='''File extension to store matches (bin or txt).''',
|
||||
value='txt',
|
||||
values=('txt', 'bin'),
|
||||
exclusive=True,
|
||||
uid=[],
|
||||
),
|
||||
desc.IntParam(
|
||||
|
|
|
@ -40,11 +40,13 @@ class StructureFromMotion(desc.CommandLineNode):
|
|||
uid=[0],
|
||||
joinChar=',',
|
||||
),
|
||||
desc.StringParam(
|
||||
desc.ChoiceParam(
|
||||
name='interFileExtension',
|
||||
label='Inter File Extension',
|
||||
description='''Extension of the intermediate file export.''',
|
||||
value='.abc',
|
||||
values=('.abc', '.ply'),
|
||||
exclusive=True,
|
||||
uid=[],
|
||||
),
|
||||
desc.IntParam(
|
||||
|
|
|
@ -22,13 +22,14 @@ class Texturing(desc.CommandLineNode):
|
|||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
desc.ChoiceParam(
|
||||
name='textureSide',
|
||||
label='Texture Side',
|
||||
description='''Output texture size''',
|
||||
value=8192,
|
||||
range=(1024, 16384, 1024),
|
||||
uid=[0],
|
||||
values=(1024, 2048, 4096, 8192, 16384),
|
||||
exclusive=True,
|
||||
uid=[],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='padding',
|
||||
|
|
Loading…
Add table
Reference in a new issue