Skip to content
Snippets Groups Projects
Commit 82e9cadb authored by Henryk Blasinski's avatar Henryk Blasinski
Browse files

Bug fixes.

parent dd5731eb
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ for a=1:nArrangements
cameras{a}(i).lookAt(3) = cameras{a}(i).height;
% Set the camera film distance to be in focus for the object?
lensFile = fullfile(lensDir,sprintf('%s.dat',cameras{a}(i).lens));
lensFile = fullfile(rtbRoot,'RenderData','Lenses',sprintf('%s.dat',cameras{a}(i).lens));
if strcmp(cameras{a}(i).type,'pinhole')
cameras{a}(i).filmDistance = effectiveFocalLength(lensFile);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment