diff options
author | Alfredo de Greef <eeshlo@yahoo.com> | 2004-08-02 02:21:22 +0400 |
---|---|---|
committer | Alfredo de Greef <eeshlo@yahoo.com> | 2004-08-02 02:21:22 +0400 |
commit | c11bb5b7ad73bf7076a51deba1338220aeded5ae (patch) | |
tree | 21276297e95760b40864f4f44b4542ed67981351 /source/blender/yafray/intern/export_File.cpp | |
parent | 2a749931ba3ac9470bfd3fa7545a8df4bb587db4 (diff) |
Values for spherelight sampling were using incorrect blender lamp parameter.
Diffstat (limited to 'source/blender/yafray/intern/export_File.cpp')
-rwxr-xr-x | source/blender/yafray/intern/export_File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp index e082fa31438..61d15bff0c9 100755 --- a/source/blender/yafray/intern/export_File.cpp +++ b/source/blender/yafray/intern/export_File.cpp @@ -1176,7 +1176,7 @@ void yafrayFileRender_t::writeLamps() } else if (is_sphereL) { // spherelight - int psm=0, sm = lamp->samp*lamp->samp; + int psm=0, sm = lamp->ray_samp*lamp->ray_samp; if (sm>=25) psm = sm/5; ostr << " radius=\"" << lamp->YF_ltradius << "\"" << " samples=\"" << sm << "\"" |