diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-18 12:45:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-18 12:50:55 +0300 |
commit | a82bc705121fb54af23cad55003b0988808c1561 (patch) | |
tree | 56d3a15848402f9cf1e1c278543a4195783978f1 /source/blender/collada/CameraExporter.cpp | |
parent | 07c67148e36d95ac185c553ceacbdb6896ae46ca (diff) |
Fix use of deprecated DoF distance property
Diffstat (limited to 'source/blender/collada/CameraExporter.cpp')
-rw-r--r-- | source/blender/collada/CameraExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/CameraExporter.cpp b/source/blender/collada/CameraExporter.cpp index d318a90909e..a46ee74be91 100644 --- a/source/blender/collada/CameraExporter.cpp +++ b/source/blender/collada/CameraExporter.cpp @@ -94,6 +94,6 @@ bool CamerasExporter::exportBlenderProfile(COLLADASW::Camera &cm, Camera *cam) { cm.addExtraTechniqueParameter("blender", "shiftx", cam->shiftx); cm.addExtraTechniqueParameter("blender", "shifty", cam->shifty); - cm.addExtraTechniqueParameter("blender", "dof_distance", cam->dof_distance); + cm.addExtraTechniqueParameter("blender", "dof_distance", cam->dof.focus_distance); return true; } |