diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-07-28 00:09:57 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-07-28 00:09:57 +0400 |
commit | 969f4eefb54a3ae0418e126632eb9085d67c722f (patch) | |
tree | 5a742a431f03c6c7b7844aece4e766cbd3a51470 /source/blender/blenloader | |
parent | f193027a0357f06cf0cfff1de3feafd8ce04ecf4 (diff) |
Removed old multires file write code.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 9b722ddedd6..5337ad98b36 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1178,7 +1178,6 @@ static void write_customdata(WriteData *wd, int count, CustomData *data, int par static void write_meshs(WriteData *wd, ListBase *idbase, int mr_undo) { Mesh *mesh; - MultiresLevel *lvl; mesh= idbase->first; while(mesh) { @@ -1217,29 +1216,6 @@ static void write_meshs(WriteData *wd, ListBase *idbase, int mr_undo) write_customdata(wd, mesh->totface, &mesh->fdata, -1, 0); } - /* Multires data */ - writestruct(wd, DATA, "Multires", 1, mesh->mr); - if(mesh->mr) { - lvl= mesh->mr->levels.first; - if(lvl) { - write_customdata(wd, lvl->totvert, &mesh->mr->vdata, -1, 0); - write_customdata(wd, lvl->totface, &mesh->mr->fdata, -1, 0); - writedata(wd, DATA, sizeof(short)*lvl->totedge, mesh->mr->edge_flags); - writedata(wd, DATA, sizeof(char)*lvl->totedge, mesh->mr->edge_creases); - } - - for(; lvl; lvl= lvl->next) { - writestruct(wd, DATA, "MultiresLevel", 1, lvl); - writestruct(wd, DATA, "MultiresFace", lvl->totface, lvl->faces); - writestruct(wd, DATA, "MultiresEdge", lvl->totedge, lvl->edges); - writestruct(wd, DATA, "MultiresColFace", lvl->totface, lvl->colfaces); - } - - lvl= mesh->mr->levels.last; - if(lvl) - writestruct(wd, DATA, "MVert", lvl->totvert, mesh->mr->verts); - } - /* PMV data */ if(mesh->pv) { writestruct(wd, DATA, "PartialVisibility", 1, mesh->pv); |