diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-11-19 13:26:54 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-11-19 13:26:54 +0300 |
commit | fd88246d61d64cd39d06ff3484e7d68428886c1a (patch) | |
tree | 5388600344a98e42b51d968470cd9529a45ce274 /source/blender | |
parent | ae648981471bc25d1454cbf6886c4baa674e9690 (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')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Quaternion.c | 2 |
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; |