Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-11-19 13:26:54 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-11-19 13:26:54 +0300
commitfd88246d61d64cd39d06ff3484e7d68428886c1a (patch)
tree5388600344a98e42b51d968470cd9529a45ce274 /source/blender/python/mathutils
parentae648981471bc25d1454cbf6886c4baa674e9690 (diff)
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.
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c2
1 files changed, 1 insertions, 1 deletions
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;