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>2021-03-16 17:07:45 +0300
committerBastien Montagne <bastien@blender.org>2021-03-16 18:57:04 +0300
commit18371f278059c0a2c99b91d5be4886ab3fd4a2a7 (patch)
tree0d7e4a5579d3b06e3f5cf5cc4825532faf08462b /source/blender/makesrna/intern/rna_access_compare_override.c
parentb71b1ae384a3e8cda43bb005a1beeddbf30f86ed (diff)
LibOverride: tweak log messages, fix crash in log code.
One of the log call could use freed memory.
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 28d4cc4d075..d286d101b81 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -1107,7 +1107,7 @@ static void rna_property_override_apply_ex(Main *bmain,
ptr_item_storage,
opop)) {
CLOG_INFO(&LOG,
- 2,
+ 4,
"Failed to apply '%s' override operation on %s\n",
op->rna_path,
ptr_src->owner_id->name);
@@ -1211,7 +1211,7 @@ void RNA_struct_override_apply(Main *bmain,
if (id_dst != NULL) {
CLOG_INFO(&LOG,
- 3,
+ 4,
"%s: Ignoring local override on ID pointer property '%s', as requested by "
"RNA_OVERRIDE_APPLY_FLAG_IGNORE_ID_POINTERS flag",
ptr_dst->owner_id->name,
@@ -1236,7 +1236,7 @@ void RNA_struct_override_apply(Main *bmain,
}
else {
CLOG_INFO(&LOG,
- 2,
+ 4,
"Failed to apply library override operation to '%s.%s' "
"(could not resolve some properties, local: %d, override: %d)",
((ID *)ptr_src->owner_id)->name,