mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-07 13:21:56 +02:00
[nodes] use Choice param for scale
This commit is contained in:
parent
329dcba3a5
commit
1dbf002557
1 changed files with 3 additions and 2 deletions
|
@ -29,11 +29,12 @@ class PrepareDenseScene(desc.CommandLineNode):
|
||||||
uid=[],
|
uid=[],
|
||||||
isOutput=True,
|
isOutput=True,
|
||||||
)
|
)
|
||||||
scale = desc.IntParam(
|
scale = desc.ChoiceParam(
|
||||||
label='Scale',
|
label='Scale',
|
||||||
description='''Image downscale factor.''',
|
description='''Image downscale factor.''',
|
||||||
value=2,
|
value=2,
|
||||||
range=(-sys.maxsize, sys.maxsize, 1),
|
values=[1, 2, 4, 8, 16],
|
||||||
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
)
|
)
|
||||||
verboseLevel = desc.ChoiceParam(
|
verboseLevel = desc.ChoiceParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue