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>2008-10-23 06:15:36 +0400
committerMatt Ebb <matt@mke3.net>2008-10-23 06:15:36 +0400
commitba829e5c36b0e1282f5799720142d464c57c7d54 (patch)
tree4368b2e516bda9064250c9c91beebf6ce7736bf8 /source/blender
parentffe81354f8c7aebaed6168ecb942c86c2da56ce4 (diff)
Debugging tests paid off, fixed a ridiculously silly bug
that was preventing light cache from working on some people's systems (but went just fine on both my windows pc and mac). I have no idea how the original code even worked at all, it really shouldn't have. But fixed now anyway! Thanks a bunch to Zanqdo for patience in helping me pinpoint this.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/render/intern/source/volumetric.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c
index 7005f1a6952..aad8f44441e 100644
--- a/source/blender/render/intern/source/volumetric.c
+++ b/source/blender/render/intern/source/volumetric.c
@@ -844,6 +844,8 @@ RayTree *create_raytree_obi(ObjectInstanceRen *obi, float *bbmin, float *bbmax)
}
RE_ray_tree_done(tree);
+
+ return tree;
}
/* Precache a volume into a 3D voxel grid.