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:
authorJiri Hnidek <jiri.hnidek@tul.cz>2006-06-27 13:37:12 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2006-06-27 13:37:12 +0400
commit605388b44949ce10070b5e2178aea65a11667e54 (patch)
tree92f837bed8d37159c28846ca6ff58db83f4773f4 /source/blender/blenkernel/intern/mball.c
parentba7af683ae4ae3cc52631930bd1fe727e8fc879d (diff)
- Bug fix #1931
metacubes shouldn't disapear, when dx, dy, dz is too big, thanks arsouille for pointing at right part of code (it was the oldest bug in bug tracker)
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r--source/blender/blenkernel/intern/mball.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c
index 9429183105b..8bbcb476654 100644
--- a/source/blender/blenkernel/intern/mball.c
+++ b/source/blender/blenkernel/intern/mball.c
@@ -1617,9 +1617,9 @@ float init_meta(Object *ob) /* return totsize */
totsize= 0.0;
for(a=0; a<totelem; a++) {
- vec[0]= mainb[a]->x + mainb[a]->rad;
- vec[1]= mainb[a]->y + mainb[a]->rad;
- vec[2]= mainb[a]->z + mainb[a]->rad;
+ vec[0]= mainb[a]->x + mainb[a]->rad + mainb[a]->expx;
+ vec[1]= mainb[a]->y + mainb[a]->rad + mainb[a]->expy;
+ vec[2]= mainb[a]->z + mainb[a]->rad + mainb[a]->expz;
calc_mballco(mainb[a], vec);