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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-14 14:07:45 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-14 19:33:12 +0300
commite10ddc7a91b840eb630626665d987f498a7e9254 (patch)
tree654744ac470e885940ce123d8e055042b0fb3656 /source/blender/blenkernel/intern/mesh.c
parentf87603662d03bf908094ed7a7f002a07bf13be38 (diff)
Get rid of BKE_key_make_local().
This function was only a wrapper around id_clear_lib_data(), and shapekeys are not linkable nor shareable anyway, no point keeping this currently, was only adding confusion about shapekey 'status' as a datatblock.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r--source/blender/blenkernel/intern/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index 1dd22f4a32b..db15dc18da4 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -574,7 +574,7 @@ void BKE_mesh_make_local(Main *bmain, Mesh *me, const bool force_local)
if (!is_lib) {
id_clear_lib_data(bmain, &me->id);
if (me->key) {
- BKE_key_make_local(bmain, me->key, force_local);
+ id_clear_lib_data(bmain, &me->key->id);
}
BKE_id_expand_local(&me->id);
}