[Bf-blender-cvs] [9af81c2b744] master: Cleanup: correct exception message

Campbell Barton noreply at git.blender.org
Tue Jan 11 08:16:25 CET 2022


Commit: 9af81c2b74475d8b6d0b6d8b0ca4afbb7ec380fa
Author: Campbell Barton
Date:   Tue Jan 11 18:04:11 2022 +1100
Branches: master
https://developer.blender.org/rB9af81c2b74475d8b6d0b6d8b0ca4afbb7ec380fa

Cleanup: correct exception message

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

M	source/blender/python/mathutils/mathutils_Quaternion.c

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

diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index 525b2da7d06..8c333413d74 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -320,7 +320,7 @@ static PyObject *Quaternion_rotation_difference(QuaternionObject *self, PyObject
                             QUAT_SIZE,
                             QUAT_SIZE,
                             value,
-                            "Quaternion.difference(other), invalid 'other' arg") == -1) {
+                            "Quaternion.rotation_difference(other), invalid 'other' arg") == -1) {
     return NULL;
   }



More information about the Bf-blender-cvs mailing list