[Bf-blender-cvs] [8b5333ff7b7] temp-sybren-childof-constraint-unittest: Cleanup: fixed copy-paste error in Object Solver constraint message

Sybren A. Stüvel noreply at git.blender.org
Tue Feb 25 12:17:20 CET 2020


Commit: 8b5333ff7b70a772912537372bc5295da4822c39
Author: Sybren A. Stüvel
Date:   Tue Feb 25 12:00:24 2020 +0100
Branches: temp-sybren-childof-constraint-unittest
https://developer.blender.org/rB8b5333ff7b70a772912537372bc5295da4822c39

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.

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

M	source/blender/editors/object/object_constraint.c

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

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 : "<None>");
-    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 : "<None>");
+    BKE_report(
+        op->reports, RPT_ERROR, "Could not find constraint data for ObjectSolver Set Inverse");
     return OPERATOR_CANCELLED;
   }



More information about the Bf-blender-cvs mailing list