From aa7fed41b5076263a3e488d8eb26bd1bdaeb65ec Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Wed, 1 Jul 2020 01:55:10 +0200 Subject: [PATCH] [multiview] do not allow fisheye4 camera model in the HDRI context --- meshroom/multiview.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshroom/multiview.py b/meshroom/multiview.py index 38ab59f0..2ec6b7f3 100644 --- a/meshroom/multiview.py +++ b/meshroom/multiview.py @@ -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)