diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-25 16:30:25 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-25 20:11:23 +0300 |
commit | ee51283da1973d1f147f7c51bd7506e4dd804289 (patch) | |
tree | 08553e54be59baa291be806f3614d1f76216bb6d /source/blender/makesrna | |
parent | d951239e1d9a903219a1d40d3704ea5696c452e5 (diff) |
LibOverride: Tweak messages when some sub-item is not found when applying overrides.
Diffstat (limited to 'source/blender/makesrna')
-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 6fd1609e77b..a5a22101887 100644 --- a/source/blender/makesrna/intern/rna_access_compare_override.c +++ b/source/blender/makesrna/intern/rna_access_compare_override.c @@ -973,14 +973,16 @@ 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' of '%s' in new override data '%s'\n", + printf("Failed to find destination sub-item '%s' (%d) of '%s' in new override data '%s'\n", opop->subitem_reference_name, + opop->subitem_reference_index, op->rna_path, ptr_dst->owner_id->name); } if (ptr_item_src->type == NULL) { - printf("Failed to find source sub-item '%s' of '%s' in old override data '%s'\n", + printf("Failed to find source sub-item '%s' (%d) of '%s' in old override data '%s'\n", opop->subitem_local_name, + opop->subitem_local_index, op->rna_path, ptr_src->owner_id->name); } |