forked from bartvdbraak/blender
remove sticky customdata layers as well as sticky mtex flag
This commit is contained in:
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! */
|
||||
|
Loading…
Reference in New Issue
Block a user