LibOverride: Do not assert on missing operands in apply function.

This can happen after some changes in lib file and resync in user file
e.g..
This commit is contained in:
Bastien Montagne 2020-11-02 11:55:26 +01:00
parent f2c7b4a1c5
commit 2b98a9269b
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ static bool rna_Collection_children_override_apply(Main *bmain,
Collection *coll_dst = (Collection *)ptr_dst->owner_id;
if (ptr_item_dst->type == NULL || ptr_item_src->type == NULL) {
BLI_assert(0 && "invalid source or destination sub-collection.");
/* This can happen when reference and overrides differ, just ignore then. */
return false;
}