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
path: root/source
diff options
context:
space:
mode:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2009-10-13 14:52:18 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2009-10-13 14:52:18 +0400
commitf4d29269866a3bc4f9346bf24753d72da2456fc9 (patch)
treeda073ea980ea56b934d6b500635eab2928f9da5f /source
parent8f25c0a799ae19edab0eee928b9130b5017e1a74 (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.cpp1
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++)