diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-06 00:50:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-06 00:50:23 +0300 |
commit | 26b8892c9c6733e2716df4aa84d02e3ff5331735 (patch) | |
tree | 0d552b20e3678176c5b0a6a804d33b3c6de4be80 /source/blender/src/meshtools.c | |
parent | b0c01a414b0915ae73a704e4c676ab985be82a04 (diff) |
Bugfix for mysteriously disappearing left eyeball. Bounding boxes
used for clipping were being stored in the mesh, but modifiers
can result in two objects with the same mesh having a different
bounding box. Solution is to store bounding box in the object.
Diffstat (limited to 'source/blender/src/meshtools.c')
-rw-r--r-- | source/blender/src/meshtools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/meshtools.c b/source/blender/src/meshtools.c index 2b5ec2006c1..6dc01217b82 100644 --- a/source/blender/src/meshtools.c +++ b/source/blender/src/meshtools.c @@ -741,7 +741,7 @@ long mesh_octree_table(Object *ob, float *co, char mode) } else if(mode=='s') { /* start table */ Mesh *me= ob->data; - BoundBox *bb = mesh_get_bb(me); + BoundBox *bb = mesh_get_bb(ob); /* for quick unit coordinate calculus */ VECCOPY(offs, bb->vec[0]); |