Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo de Greef <eeshlo@yahoo.com>2004-08-02 02:21:22 +0400
committerAlfredo de Greef <eeshlo@yahoo.com>2004-08-02 02:21:22 +0400
commitc11bb5b7ad73bf7076a51deba1338220aeded5ae (patch)
tree21276297e95760b40864f4f44b4542ed67981351 /source/blender/yafray/intern/export_File.cpp
parent2a749931ba3ac9470bfd3fa7545a8df4bb587db4 (diff)
Values for spherelight sampling were using incorrect blender lamp parameter.
Diffstat (limited to 'source/blender/yafray/intern/export_File.cpp')
-rwxr-xr-xsource/blender/yafray/intern/export_File.cpp2
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 << "\""