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).
This commit is contained in:
Bastien Montagne 2019-02-04 18:23:50 +01:00
parent 5123ee74f8
commit 9469ebe1cc
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}