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/key.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/key.c')
-rw-r--r--source/blender/blenkernel/intern/key.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c
index c61aee704d2..a524f927cad 100644
--- a/source/blender/blenkernel/intern/key.c
+++ b/source/blender/blenkernel/intern/key.c
@@ -203,18 +203,6 @@ Key *BKE_key_copy_nolib(Key *key)
return keyn;
}
-void BKE_key_make_local(Main *bmain, Key *key, const bool UNUSED(force_local))
-{
- /* Note that here for now we simply just make it local...
- * Sounds fishy behavior, but since skeys are not *real* IDs... */
-
- if (!ID_IS_LINKED_DATABLOCK(key)) {
- return;
- }
-
- id_clear_lib_data(bmain, &key->id);
-}
-
/* Sort shape keys and Ipo curves after a change. This assumes that at most
* one key was moved, which is a valid assumption for the places it's
* currently being called.