[nodes] PanoramaPostProcessing: Fix "previewSize"'s range

- Fixed the range of the "previewSize" parameter: since its step was set
to 5000, it could only be set to 0 or 1000. It can now be set from 0 to
5000 with steps of 100 pixels;
- Fixed the case of the "previewSize" and "outputPanoramaPreview";
- Improved the description of "previewSize", and added descriptions for
"outputPanorama" and "outputPanoramaPreview".
This commit is contained in:
Candice Bentéjac 2023-03-30 12:13:16 +02:00 committed by Fabien Servant
parent f51919a8f3
commit 36686492f3

View file

@ -33,10 +33,10 @@ Post process the panorama.
),
desc.IntParam(
name='previewSize',
label='Panorama preview Width',
description='Choose the output preview width (in pixels).',
label='Panorama Preview Width',
description='The width (in pixels) of the output panorama preview.',
value=1000,
range=(0, 1000, 5000),
range=(0, 5000, 100),
uid=[0]
),
desc.ChoiceParam(
@ -63,15 +63,15 @@ Post process the panorama.
desc.File(
name='outputPanorama',
label='Output Panorama',
description='',
description='Generated panorama in EXR format.',
semantic='image',
value=desc.Node.internalFolder + 'panorama.exr',
uid=[],
),
desc.File(
name='outputPanoramaPreview',
label='Output Panorama preview',
description='',
label='Output Panorama Preview',
description='Preview of the generated panorama in JPG format.',
semantic='image',
value=desc.Node.internalFolder + 'panoramaPreview.jpg',
uid=[],