remove sticky customdata layers as well as sticky mtex flag

This commit is contained in:
Campbell Barton 2012-09-23 10:25:22 +00:00
parent 2152b6fa41
commit acb4a03934

@ -7998,6 +7998,13 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
}
}
}
{
Mesh *me;
for (me = main->mesh.first; me; me = me->id.next) {
CustomData_free_layers(&me->vdata, CD_MSTICKY, me->totvert);
}
}
}
/* WATCH IT!!!: pointers from libdata have not been converted yet here! */