Remove unused bounding box from MetaBall

--
svn merge -r58150:58151 ^/branches/soc-2013-depsgraph_mt
This commit is contained in:
Sergey Sharybin 2013-08-19 09:41:13 +00:00
parent 7ef3f98de1
commit 2dcb1d7002
3 changed files with 0 additions and 5 deletions

View File

@ -200,7 +200,6 @@ void BKE_mball_free(MetaBall *mb)
mb->adt = NULL;
}
if (mb->mat) MEM_freeN(mb->mat);
if (mb->bb) MEM_freeN(mb->bb);
BLI_freelistN(&mb->elems);
if (mb->disp.first) BKE_displist_free(&mb->disp);
}
@ -234,7 +233,6 @@ MetaBall *BKE_mball_copy(MetaBall *mb)
for (a = 0; a < mbn->totcol; a++) {
id_us_plus((ID *)mbn->mat[a]);
}
mbn->bb = MEM_dupallocN(mb->bb);
mbn->editelems = NULL;
mbn->lastelem = NULL;

View File

@ -3123,7 +3123,6 @@ static void direct_link_mball(FileData *fd, MetaBall *mb)
mb->disp.first = mb->disp.last = NULL;
mb->editelems = NULL;
mb->bb = NULL;
/* mb->edit_elems.first= mb->edit_elems.last= NULL;*/
mb->lastelem = NULL;
}

View File

@ -65,8 +65,6 @@ typedef struct MetaBall {
ID id;
struct AnimData *adt;
struct BoundBox *bb;
ListBase elems;
ListBase disp;
ListBase *editelems; /* not saved in files, note we use pointer for editmode check */