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:
parent
3997630b3a
commit
244cef6f00
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue