From 2dadb7ee2f0833be1336aaa41dad04bb9dddb486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaune?= Date: Wed, 18 Apr 2018 12:21:47 +0200 Subject: [PATCH] Fix DOF --- src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp b/src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp index 274efb2..9646c19 100644 --- a/src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp +++ b/src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp @@ -1468,6 +1468,7 @@ void set_camera_dof_params( // DOF settings. params.insert("f_stop", camera_node->GetLensApertureFNumber(time, FOREVER)); + params.insert("autofocus_enabled", false); params.insert("focal_distance", camera_node->GetFocusDistance(time, FOREVER)); switch (camera_node->GetBokehShape(time, FOREVER)) {