LibOverride: Do not assert when failing to apply an override rule.

This is actually fairly common issue if lib data changes, just print out
an info message about it for now.
This commit is contained in:
Bastien Montagne 2020-09-24 18:10:22 +02:00
parent 3997630b3a
commit 244cef6f00
1 changed files with 3 additions and 3 deletions

View File

@ -975,9 +975,9 @@ static void rna_property_override_apply_ex(Main *bmain,
ptr_item_src,
ptr_item_storage,
opop)) {
/* TODO No assert here, would be much much better to just report as warning,
* failing override applications will probably be fairly common! */
BLI_assert(0);
printf("Failed to apply '%s' override operation on %s\n",
op->rna_path,
ptr_src->owner_id->name);
}
}
}