[Bf-blender-cvs] [4a224451d1e] master: LibOverride: Tweak messages when some sub-item is not found when applying overrides.

Bastien Montagne noreply at git.blender.org
Fri Sep 25 11:52:28 CEST 2020


Commit: 4a224451d1e884cb0b75d80e4a06870eb3725821
Author: Bastien Montagne
Date:   Fri Sep 25 11:49:26 2020 +0200
Branches: master
https://developer.blender.org/rB4a224451d1e884cb0b75d80e4a06870eb3725821

LibOverride: Tweak messages when some sub-item is not found when applying overrides.

===================================================================

M	source/blender/makesrna/intern/rna_access_compare_override.c

===================================================================

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);
       }
     }



More information about the Bf-blender-cvs mailing list