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>2019-02-04 20:23:50 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-05 12:53:16 +0300
commit9469ebe1cc394af8b22e888a33edeed682e99741 (patch)
tree4392e8da32e9fefe1c927799660aef1bca627b1d /source/blender
parent5123ee74f8b4b19f42b863d7a4917188a75418e0 (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')
-rw-r--r--source/blender/blenkernel/intern/library.c1
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;
}