diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-22 02:17:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-22 02:17:19 +0300 |
commit | ec04c09365cd47bf9ca7e86e1fa731dd2e4540db (patch) | |
tree | c874c39de14a827a21ca1e694b5085fee6a00e57 /source/blender/src/meshlaplacian.c | |
parent | 9f3f546a6f71c05591442f6ebf29a94d871dd4c5 (diff) |
Fix for error in approximate AO in last commit, made it really slow.
Also, duplis are now taking into account, the proper way to exclude
them is to set the material to be not traceable.
Removed an unnecessary pointer from the VlakRen struct to save some
memory, not really that significant, but still, saves 70 mb for 10
million faces.
Diffstat (limited to 'source/blender/src/meshlaplacian.c')
-rw-r--r-- | source/blender/src/meshlaplacian.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/meshlaplacian.c b/source/blender/src/meshlaplacian.c index 5907d3cd7c3..2fa85c56b04 100644 --- a/source/blender/src/meshlaplacian.c +++ b/source/blender/src/meshlaplacian.c @@ -398,7 +398,7 @@ static void heat_ray_coords_func(RayFace *face, float **v1, float **v2, float ** *v4= (mface->v4)? verts[mface->v4]: NULL; } -static int heat_ray_check_func(Isect *is, RayFace *face) +static int heat_ray_check_func(Isect *is, int ob, RayFace *face) { float *v1, *v2, *v3, *v4, nor[3]; |