diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-14 14:07:45 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-14 19:33:12 +0300 |
commit | e10ddc7a91b840eb630626665d987f498a7e9254 (patch) | |
tree | 654744ac470e885940ce123d8e055042b0fb3656 /source/blender/blenkernel/intern/lattice.c | |
parent | f87603662d03bf908094ed7a7f002a07bf13be38 (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/lattice.c')
-rw-r--r-- | source/blender/blenkernel/intern/lattice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c index 9d4f14110a2..0babe1d317c 100644 --- a/source/blender/blenkernel/intern/lattice.c +++ b/source/blender/blenkernel/intern/lattice.c @@ -349,7 +349,7 @@ void BKE_lattice_make_local(Main *bmain, Lattice *lt, const bool force_local) if (!is_lib) { id_clear_lib_data(bmain, <->id); if (lt->key) { - BKE_key_make_local(bmain, lt->key, force_local); + id_clear_lib_data(bmain, <->key->id); } BKE_id_expand_local(<->id); } |