diff options
author | Ton Roosendaal <ton@blender.org> | 2003-08-09 21:09:11 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-08-09 21:09:11 +0400 |
commit | 84f2b0846162ac4489e4f99096d250200bde275f (patch) | |
tree | 214fa25eefb2099adae71977f0ad3b4973bd1b65 /source/blender/blenkernel/intern/mball.c | |
parent | e2a702a7b41a573b34d2432af141d4f09ee3ba62 (diff) |
- patch provided by Jiri, to prevent polygonizer not to do metaballs
outside of the old boundbox of the Object.
it's a small fix, the code is still commented in... need further
work to find out why sometimes balls disappear
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r-- | source/blender/blenkernel/intern/mball.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c index 6d299091e50..5ca4fdaf354 100644 --- a/source/blender/blenkernel/intern/mball.c +++ b/source/blender/blenkernel/intern/mball.c @@ -753,7 +753,7 @@ void testface(int i, int j, int k, CUBE* old, int bit, int c1, int c2, int c3, i /* test if no surface crossing */ if( (corn2->value > 0) == pos && (corn3->value > 0) == pos && (corn4->value > 0) == pos) return; /* test if cube out of bounds */ - if ( abs(i) > p->bounds || abs(j) > p->bounds || abs(k) > p->bounds) return; + /*if ( abs(i) > p->bounds || abs(j) > p->bounds || abs(k) > p->bounds) return;*/ /* test if already visited (always as last) */ if (setcenter(p->centers, i, j, k)) return; |