[nodes] ExportImages: Fix category and namingMode parameter

Change the category to "Export" instead of "Utils" and align the
default value of the `namingMode` parameter with the one used in the
AliceVision's executable. Moreover, the value "viewId" was incorrect,
as "viewid" if the expected one.
This commit is contained in:
Candice Bentéjac 2025-03-06 14:42:48 +01:00
parent 92cc5b7cb2
commit ef33aabe5e

View file

@ -10,7 +10,7 @@ class ExportImages(desc.AVCommandLineNode):
parallelization = desc.Parallelization(blockSize=40) parallelization = desc.Parallelization(blockSize=40)
commandLineRange = '--rangeStart {rangeStart} --rangeSize {rangeBlockSize}' commandLineRange = '--rangeStart {rangeStart} --rangeSize {rangeBlockSize}'
category = 'Utils' category = 'Export'
documentation = ''' documentation = '''
Export images referenced in the input sfmData by transforming Export images referenced in the input sfmData by transforming
them to adapt to the required target intrinsics. For example, the target them to adapt to the required target intrinsics. For example, the target
@ -49,10 +49,10 @@ class ExportImages(desc.AVCommandLineNode):
name="namingMode", name="namingMode",
label="Naming mode", label="Naming mode",
description="image naming mode :\n" description="image naming mode :\n"
" - viewId: viewid.ext.\n" " - viewid: viewid.ext.\n"
" - frameId: Frameid.ext.\n" " - frameid: Frameid.ext.\n"
" - keep: Keep original name.\n", " - keep: Keep original name.\n",
value="viewId", value="frameid",
values=["viewid", "frameid", "keep"], values=["viewid", "frameid", "keep"],
), ),
desc.ChoiceParam( desc.ChoiceParam(