diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-04 20:23:50 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-05 12:53:16 +0300 |
commit | 9469ebe1cc394af8b22e888a33edeed682e99741 (patch) | |
tree | 4392e8da32e9fefe1c927799660aef1bca627b1d /source/blender/blenkernel/intern | |
parent | 5123ee74f8b4b19f42b863d7a4917188a75418e0 (diff) |
Cleanup: sanitize BKE_libblock_copy_for_localize() copy flags.
Asking to not copy animdata, but copy actions, is pure nonsense (and
make LIB_ID_COPY_ACTIONS flag totally useless/no-op).
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 74c75b3281f..7484ca4d716 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -1413,7 +1413,6 @@ void *BKE_libblock_copy_for_localize(const ID *id) ID *idn; BKE_libblock_copy_ex(NULL, id, &idn, (LIB_ID_CREATE_NO_MAIN | LIB_ID_CREATE_NO_USER_REFCOUNT | - LIB_ID_COPY_ACTIONS | LIB_ID_COPY_NO_ANIMDATA)); return idn; } |