[multiview] do not allow fisheye4 camera model in the HDRI context

This commit is contained in:
Fabien Castan 2020-07-01 01:55:10 +02:00
parent 7d99ba4b59
commit aa7fed41b5

View file

@ -141,6 +141,11 @@ def hdriPipeline(graph):
list of Node: the created nodes
"""
cameraInit = graph.addNewNode('CameraInit')
try:
# fisheye4 does not work well in the ParoramaEstimation, so here we avoid to use it.
cameraInit.attribute('allowedCameraModels').value.remove("fisheye4")
except ValueError:
pass
ldr2hdr = graph.addNewNode('LDRToHDR',
input=cameraInit.output)