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,
|
value=False,
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
desc.StringParam(
|
desc.ChoiceParam(
|
||||||
name='fileExtension',
|
name='fileExtension',
|
||||||
label='File Extension',
|
label='File Extension',
|
||||||
description='''File extension to store matches (bin or txt).''',
|
description='''File extension to store matches (bin or txt).''',
|
||||||
value='txt',
|
value='txt',
|
||||||
|
values=('txt', 'bin'),
|
||||||
|
exclusive=True,
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
desc.IntParam(
|
desc.IntParam(
|
||||||
|
|
|
@ -40,11 +40,13 @@ class StructureFromMotion(desc.CommandLineNode):
|
||||||
uid=[0],
|
uid=[0],
|
||||||
joinChar=',',
|
joinChar=',',
|
||||||
),
|
),
|
||||||
desc.StringParam(
|
desc.ChoiceParam(
|
||||||
name='interFileExtension',
|
name='interFileExtension',
|
||||||
label='Inter File Extension',
|
label='Inter File Extension',
|
||||||
description='''Extension of the intermediate file export.''',
|
description='''Extension of the intermediate file export.''',
|
||||||
value='.abc',
|
value='.abc',
|
||||||
|
values=('.abc', '.ply'),
|
||||||
|
exclusive=True,
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
desc.IntParam(
|
desc.IntParam(
|
||||||
|
|
|
@ -22,13 +22,14 @@ class Texturing(desc.CommandLineNode):
|
||||||
value='',
|
value='',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.IntParam(
|
desc.ChoiceParam(
|
||||||
name='textureSide',
|
name='textureSide',
|
||||||
label='Texture Side',
|
label='Texture Side',
|
||||||
description='''Output texture size''',
|
description='''Output texture size''',
|
||||||
value=8192,
|
value=8192,
|
||||||
range=(1024, 16384, 1024),
|
values=(1024, 2048, 4096, 8192, 16384),
|
||||||
uid=[0],
|
exclusive=True,
|
||||||
|
uid=[],
|
||||||
),
|
),
|
||||||
desc.IntParam(
|
desc.IntParam(
|
||||||
name='padding',
|
name='padding',
|
||||||
|
|
Loading…
Add table
Reference in a new issue