mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-07 13:21:56 +02:00
Merge pull request #2311 from alicevision/dev/cameraInit_check_allowedCameraModels
[nodes] CameraInit: check allowedCameraModels validity
This commit is contained in:
commit
f970ff89f9
1 changed files with 2 additions and 0 deletions
|
@ -247,6 +247,8 @@ The needed metadata are:
|
||||||
exclusive=False,
|
exclusive=False,
|
||||||
uid=[],
|
uid=[],
|
||||||
joinChar=",",
|
joinChar=",",
|
||||||
|
validValue=lambda node: len(node.allowedCameraModels.value),
|
||||||
|
errorMessage="Need at least one allowed camera model.",
|
||||||
advanced=True,
|
advanced=True,
|
||||||
),
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue