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:
authorMatt Ebb <matt@mke3.net>2009-08-19 15:18:52 +0400
committerMatt Ebb <matt@mke3.net>2009-08-19 15:18:52 +0400
commit132277f0989b0b7d99d883d22a2bade6534ae44c (patch)
tree6d26c46f62749470130375061381353fd54c2364 /source/blender/blenlib/intern/BLI_kdopbvh.c
parent8480ea2b0abacae00c90d37e7d99fa5e0c89eebe (diff)
parente611c4756fa17c57855123dc2b5c2c2408b0d790 (diff)
svn merge -r 22450:22627 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
Diffstat (limited to 'source/blender/blenlib/intern/BLI_kdopbvh.c')
-rw-r--r--source/blender/blenlib/intern/BLI_kdopbvh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c
index 08e8a5871cd..61d9cce1a58 100644
--- a/source/blender/blenlib/intern/BLI_kdopbvh.c
+++ b/source/blender/blenlib/intern/BLI_kdopbvh.c
@@ -1531,7 +1531,7 @@ float BLI_bvhtree_bb_raycast(float *bv, float *light_start, float *light_end, fl
{
BVHRayCastData data;
float dist = 0.0;
-
+
data.hit.dist = FLT_MAX;
// get light direction