diff --git a/meshroom/nodes/blender/scripts/preview.py b/meshroom/nodes/blender/scripts/preview.py index 2d6e1a9e8f..ba4d431860 100644 --- a/meshroom/nodes/blender/scripts/preview.py +++ b/meshroom/nodes/blender/scripts/preview.py @@ -102,7 +102,7 @@ def setupCamera(intrinsic, pose): bpy.context.scene.render.pixel_aspect_x = float(intrinsic['pixelRatio']) camData.sensor_width = float(intrinsic['sensorWidth']) - camData.lens = float(intrinsic['focalLength']) + camData.lens = float(intrinsic['focalLength']) / float(intrinsic['pixelRatio']) #shift is normalized with the largest resolution fwidth = float(intrinsic['width'])