From fd88246d61d64cd39d06ff3484e7d68428886c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 19 Nov 2020 11:26:54 +0100 Subject: Fix error message prefix in `Quaternion.to_euler()` Fix copy-paste error of error message prefix, so that the Quaternion function no longer says it's a Matrix function error. --- source/blender/python/mathutils/mathutils_Quaternion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/mathutils') diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index b0e6b330968..8d2ab614728 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -95,7 +95,7 @@ static PyObject *Quaternion_to_euler(QuaternionObject *self, PyObject *args) } if (order_str) { - order = euler_order_from_string(order_str, "Matrix.to_euler()"); + order = euler_order_from_string(order_str, "Quaternion.to_euler()"); if (order == -1) { return NULL; -- cgit v1.2.3