Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-09-24 19:10:22 +0300
committerBastien Montagne <bastien@blender.org>2020-09-24 19:14:56 +0300
commit244cef6f00bcd5e96dbd24db786afd44f07daf9b (patch)
tree09887491e10aaae5b7ea2eaa4fedc91b14ffb65b /source/blender/makesrna/intern/rna_access_compare_override.c
parent3997630b3af5e47851253d3b17cb42f1202e79b1 (diff)
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access_compare_override.c')
-rw-r--r--source/blender/makesrna/intern/rna_access_compare_override.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index ac4553349cc..c97f5c4c52e 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -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);
}
}
}