diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-10-13 14:52:18 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-10-13 14:52:18 +0400 |
commit | f4d29269866a3bc4f9346bf24753d72da2456fc9 (patch) | |
tree | da073ea980ea56b934d6b500635eab2928f9da5f /source | |
parent | 8f25c0a799ae19edab0eee928b9130b5017e1a74 (diff) |
Fix [#19602] Rayshadow that goes through transparent plane disappears
(some bugs may show on other places if some of the code isnt prepared to handle non-normalized is->vec)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/raytrace/rayobject.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/rayobject.cpp b/source/blender/render/intern/raytrace/rayobject.cpp index d8880b51c6c..8aff7a38317 100644 --- a/source/blender/render/intern/raytrace/rayobject.cpp +++ b/source/blender/render/intern/raytrace/rayobject.cpp @@ -376,7 +376,6 @@ int RE_rayobject_raycast(RayObject *r, Isect *isec) RE_RC_COUNT(isec->raycounter->raycast.test); /* Setup vars used on raycast */ - isec->labda *= Normalize(isec->vec); isec->dist = VecLength(isec->vec); for(i=0; i<3; i++) |