[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58151] branches/soc-2013-depsgraph_mt/ source/blender: Remove unused bounding box from MetaBall
Sergey Sharybin
sergey.vfx at gmail.com
Wed Jul 10 13:36:53 CEST 2013
Revision: 58151
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58151
Author: nazgul
Date: 2013-07-10 11:36:52 +0000 (Wed, 10 Jul 2013)
Log Message:
-----------
Remove unused bounding box from MetaBall
Modified Paths:
--------------
branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mball.c
branches/soc-2013-depsgraph_mt/source/blender/blenloader/intern/readfile.c
branches/soc-2013-depsgraph_mt/source/blender/makesdna/DNA_meta_types.h
Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mball.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mball.c 2013-07-10 11:36:47 UTC (rev 58150)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/mball.c 2013-07-10 11:36:52 UTC (rev 58151)
@@ -200,7 +200,6 @@
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 @@
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;
Modified: branches/soc-2013-depsgraph_mt/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenloader/intern/readfile.c 2013-07-10 11:36:47 UTC (rev 58150)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenloader/intern/readfile.c 2013-07-10 11:36:52 UTC (rev 58151)
@@ -3115,7 +3115,6 @@
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;
}
Modified: branches/soc-2013-depsgraph_mt/source/blender/makesdna/DNA_meta_types.h
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/makesdna/DNA_meta_types.h 2013-07-10 11:36:47 UTC (rev 58150)
+++ branches/soc-2013-depsgraph_mt/source/blender/makesdna/DNA_meta_types.h 2013-07-10 11:36:52 UTC (rev 58151)
@@ -65,8 +65,6 @@
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 */
More information about the Bf-blender-cvs
mailing list