== Multires ==
authorNicholas Bishop <nicholasbishop@gmail.com>
Mon, 11 Jun 2007 01:30:00 +0000 (01:30 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Mon, 11 Jun 2007 01:30:00 +0000 (01:30 +0000)
* When loading multires files, clear the temporary connectivity data

source/blender/blenloader/intern/readfile.c

index 68ee0cc77ad2d60363affd811f3efd8b283f7150..10f9be743eab81ba1b51626ae1770c3ffaef42f2 100644 (file)
@@ -2562,6 +2562,9 @@ static void direct_link_mesh(FileData *fd, Mesh *mesh)
                        lvl->faces= newdataadr(fd, lvl->faces);
                        lvl->edges= newdataadr(fd, lvl->edges);
                        lvl->colfaces= newdataadr(fd, lvl->colfaces);
+                       lvl->edge_boundary_states= NULL;
+                       lvl->vert_face_map = lvl->vert_edge_map = NULL;
+                       lvl->map_mem= NULL;
                }
        }