[nodes] Align FloatParams' and IntParams' ranges with their params' type

This commit is contained in:
Candice Bentéjac 2022-09-27 12:08:54 +02:00
parent 545f3a7218
commit e7290313bf
9 changed files with 29 additions and 29 deletions

View file

@ -94,19 +94,19 @@ A Graph Cut Max-Flow is applied to optimally cut the volume. This cut represents
name="x", label="x", description="Euler X Rotation",
value=0.0,
uid=[0],
range=(-90.0, 90.0, 1)
range=(-90.0, 90.0, 1.0)
),
desc.FloatParam(
name="y", label="y", description="Euler Y Rotation",
value=0.0,
uid=[0],
range=(-180.0, 180.0, 1)
range=(-180.0, 180.0, 1.0)
),
desc.FloatParam(
name="z", label="z", description="Euler Z Rotation",
value=0.0,
uid=[0],
range=(-180.0, 180.0, 1)
range=(-180.0, 180.0, 1.0)
)
],
joinChar=","
@ -164,7 +164,7 @@ A Graph Cut Max-Flow is applied to optimally cut the volume. This cut represents
label='Min Observations Angle For SfM Space Estimation',
description='Minimum angle between two observations for SfM space estimation.',
value=10.0,
range=(0, 120, 1),
range=(0.0, 120.0, 1.0),
uid=[0],
enabled=lambda node: node.estimateSpaceFromSfM.value,
),