Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-08-09 21:09:11 +0400
committerTon Roosendaal <ton@blender.org>2003-08-09 21:09:11 +0400
commit84f2b0846162ac4489e4f99096d250200bde275f (patch)
tree214fa25eefb2099adae71977f0ad3b4973bd1b65
parente2a702a7b41a573b34d2432af141d4f09ee3ba62 (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
-rw-r--r--source/blender/blenkernel/intern/mball.c2
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;