diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 12:50:48 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 12:51:34 +0300 |
commit | ac6d8241fbbec0c4bc0f5932ab8d3c7f832d103d (patch) | |
tree | d56a6470f765d0f361eb1768d92da14cfcaecd54 | |
parent | 19f1c522696088e9247288abc24bd69b047e52ff (diff) |
Fix: Override Test Cases Failing With Asserts.
-rw-r--r-- | source/blender/blenkernel/intern/lib_override.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c index dbb46aa5780..ebe8043d41d 100644 --- a/source/blender/blenkernel/intern/lib_override.c +++ b/source/blender/blenkernel/intern/lib_override.c @@ -118,7 +118,7 @@ IDOverrideLibrary *BKE_lib_override_library_init(ID *local_id, ID *reference_id) /** Shalow or deep copy of a whole override from \a src_id to \a dst_id. */ void BKE_lib_override_library_copy(ID *dst_id, const ID *src_id, const bool do_full_copy) { - BLI_assert(ID_IS_OVERRIDE_LIBRARY(src_id)); + BLI_assert(ID_IS_OVERRIDE_LIBRARY(src_id) || ID_IS_OVERRIDE_LIBRARY_TEMPLATE(src_id)); if (dst_id->override_library != NULL) { if (src_id->override_library == NULL) { |