- 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
This commit is contained in:
Ton Roosendaal 2003-08-09 17:09:11 +00:00
parent e2a702a7b4
commit 84f2b08461

@ -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;