From 4f92367bdecaf3a4330da7cbc01a694c42adbb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 25 Feb 2020 12:00:24 +0100 Subject: Cleanup: fixed copy-paste error in Object Solver constraint message The message was clearly copied from the Child Of constraint, and never changed to Object Solver. No functional changes. --- source/blender/editors/object/object_constraint.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 8981221cb9c..454d3c07fff 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -1240,8 +1240,9 @@ static int objectsolver_set_inverse_exec(bContext *C, wmOperator *op) /* despite 3 layers of checks, we may still not be able to find a constraint */ if (data == NULL) { - printf("DEBUG: Child-Of Set Inverse - object = '%s'\n", (ob) ? ob->id.name + 2 : ""); - BKE_report(op->reports, RPT_ERROR, "Could not find constraint data for Child-Of Set Inverse"); + printf("DEBUG: ObjectSolver Set Inverse - object = '%s'\n", (ob) ? ob->id.name + 2 : ""); + BKE_report( + op->reports, RPT_ERROR, "Could not find constraint data for ObjectSolver Set Inverse"); return OPERATOR_CANCELLED; } -- cgit v1.2.3