mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 18:31:58 +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=[],
|
||||
isOutput=True,
|
||||
)
|
||||
scale = desc.IntParam(
|
||||
scale = desc.ChoiceParam(
|
||||
label='Scale',
|
||||
description='''Image downscale factor.''',
|
||||
value=2,
|
||||
range=(-sys.maxsize, sys.maxsize, 1),
|
||||
values=[1, 2, 4, 8, 16],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
)
|
||||
verboseLevel = desc.ChoiceParam(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue