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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-10-23 23:10:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-10-23 23:10:21 +0400
commit84032e97aa24d84424bac5639a99b3251cc9c8e7 (patch)
tree0853161539d64a1029a2ed9d1ae09aab2a8048fe /source/blender/render
parentbe5e2a0dd401afb88009c9ff8b02d5419a753561 (diff)
Fix #27834: AAO color bleeding failure case with raytraced shadows.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/occlusion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/occlusion.c b/source/blender/render/intern/source/occlusion.c
index ed0ae950aa3..6e9e45c7136 100644
--- a/source/blender/render/intern/source/occlusion.c
+++ b/source/blender/render/intern/source/occlusion.c
@@ -184,7 +184,7 @@ static void occ_shade(ShadeSample *ssamp, ObjectInstanceRen *obi, VlakRen *vlr,
if (shi->flippednor)
shade_input_flip_normals(shi);
- madd_v3_v3fl(shi->co, shi->vn, 0.0001f); /* ugly.. */
+ madd_v3_v3fl(shi->co, shi->facenor, -0.0001f); /* ugly.. */
/* not a pretty solution, but fixes common cases */
if (shi->obr->ob && shi->obr->ob->transflag & OB_NEG_SCALE) {