From 235655ee0d0634db9150b1dc266e3a3b35c491e4 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 3 Sep 2021 17:16:42 +0200 Subject: Improve message in ob_parbone() about the missing Parent Bone - lower to warning (might be debatable, but this is not really malfunctioning and e.g. constraints/modifiers dont spit out errors if targets are not specified) - clarify _what_ of the two actualy does not exist ref. T91101 Maniphest Tasks: T91101 Differential Revision: https://developer.blender.org/D12389 --- source/blender/blenkernel/intern/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index c91cf6ed926..062264c5729 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -3307,8 +3307,8 @@ static void ob_parbone(Object *ob, Object *par, float r_mat[4][4]) /* Make sure the bone is still valid */ bPoseChannel *pchan = BKE_pose_channel_find_name(par->pose, ob->parsubstr); if (!pchan || !pchan->bone) { - CLOG_ERROR( - &LOG, "Object %s with Bone parent: bone %s doesn't exist", ob->id.name + 2, ob->parsubstr); + CLOG_WARN( + &LOG, "Parent Bone: '%s' for Object: '%s' doesn't exist", ob->parsubstr, ob->id.name + 2); unit_m4(r_mat); return; } -- cgit v1.2.3