diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-09 16:43:45 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-09 16:44:12 +0300 |
commit | ae2033aca2047afbfe0bf449bcd01b5b79a124b8 (patch) | |
tree | 1c9352aa245b78d4ab077ef2548e12e8a87edbcc /source/blender/editors/mesh/meshtools.c | |
parent | 429394078bde004f608e0f9ba9937421ab35edfd (diff) |
Add BKE_key_copy_ex() that takes a Main as parameter.
Diffstat (limited to 'source/blender/editors/mesh/meshtools.c')
-rw-r--r-- | source/blender/editors/mesh/meshtools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/meshtools.c b/source/blender/editors/mesh/meshtools.c index 05145f7bf29..1b5fc4e8a1c 100644 --- a/source/blender/editors/mesh/meshtools.c +++ b/source/blender/editors/mesh/meshtools.c @@ -172,7 +172,7 @@ int join_mesh_exec(bContext *C, wmOperator *op) */ if (key) { /* make a duplicate copy that will only be used here... (must remember to free it!) */ - nkey = BKE_key_copy(key); + nkey = BKE_key_copy_ex(bmain, key); /* for all keys in old block, clear data-arrays */ for (kb = key->block.first; kb; kb = kb->next) { |