From 84f2b0846162ac4489e4f99096d250200bde275f Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 9 Aug 2003 17:09:11 +0000 Subject: [PATCH] - 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 --- source/blender/blenkernel/intern/mball.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;