Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-23 14:25:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-23 14:25:22 +0400
commitacb4a03934ab5b4650662a95e5a9e748d2aeadf7 (patch)
tree3e70220ee992528f07bf47cf83235b7873e341af /source/blender
parent2152b6fa41ec8e3e10b649cf40515bb5655ce4df (diff)
remove sticky customdata layers as well as sticky mtex flag
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenloader/intern/readfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 6658be97175..d2f806c5e65 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -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! */