forked from bartvdbraak/blender
Fix: Override Test Cases Failing With Asserts.
This commit is contained in:
parent
19f1c52269
commit
ac6d8241fb
@ -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. */
|
/** 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)
|
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 (dst_id->override_library != NULL) {
|
||||||
if (src_id->override_library == NULL) {
|
if (src_id->override_library == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user