diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-29 20:20:34 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-29 20:20:34 +0400 |
commit | 97f2cf05f595e293bd313de55edaea169fa81315 (patch) | |
tree | 2f93c3d843201fcf9c78685f79ba41f4f3c38a03 /source/blender/renderconverter | |
parent | d6eeceb83d06a82f14301b8204e320cb396b6db5 (diff) |
Fix #1207
Flag for 'only shadow' was still working when lamp type switched to
Hemi. Also 'only shadow' didnt work yet for ray_shadow Spot lamp.
Diffstat (limited to 'source/blender/renderconverter')
-rw-r--r-- | source/blender/renderconverter/intern/convertBlenderScene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/renderconverter/intern/convertBlenderScene.c b/source/blender/renderconverter/intern/convertBlenderScene.c index 47f70f64e13..3494874314d 100644 --- a/source/blender/renderconverter/intern/convertBlenderScene.c +++ b/source/blender/renderconverter/intern/convertBlenderScene.c @@ -1763,7 +1763,7 @@ void RE_add_render_lamp(Object *ob, int doshadbuf) lar->spottexfac= 1.0/(xn); if(lar->mode & LA_ONLYSHADOW) { - if((lar->mode & LA_SHAD)==0) lar->mode -= LA_ONLYSHADOW; + if((lar->mode & (LA_SHAD|LA_SHAD_RAY))==0) lar->mode -= LA_ONLYSHADOW; } } |