diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-25 12:49:26 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-25 12:52:18 +0300 |
commit | 4a224451d1e884cb0b75d80e4a06870eb3725821 (patch) | |
tree | 4bca68b9e71a706cc2252afc48c2c7103869481f /source | |
parent | 1a64f97b9e1227f67052a00c1eccc636e806c97d (diff) |
LibOverride: Tweak messages when some sub-item is not found when applying overrides.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_access_compare_override.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c index 40b04399ac9..6fd1609e77b 100644 --- a/source/blender/makesrna/intern/rna_access_compare_override.c +++ b/source/blender/makesrna/intern/rna_access_compare_override.c @@ -973,13 +973,15 @@ static void rna_property_override_apply_ex(Main *bmain, ptr_item_storage = &private_ptr_item_storage; if (ptr_item_dst->type == NULL) { - printf("Failed to find destination sub-item '%s' in new override data '%s'\n", + printf("Failed to find destination sub-item '%s' of '%s' in new override data '%s'\n", opop->subitem_reference_name, + op->rna_path, ptr_dst->owner_id->name); } if (ptr_item_src->type == NULL) { - printf("Failed to find source sub-item '%s' in old override data '%s'\n", + printf("Failed to find source sub-item '%s' of '%s' in old override data '%s'\n", opop->subitem_local_name, + op->rna_path, ptr_src->owner_id->name); } } |