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:
authorL. E. Segovia <leonardo.segovia@cs.uns.edu.ar>2018-07-17 18:11:57 +0300
committerL. E. Segovia <leonardo.segovia@cs.uns.edu.ar>2018-07-17 18:11:57 +0300
commit93b6346f67ae70f2effb33d0d0404d5f5244e4f4 (patch)
tree7bd4d0d27a82010af0e551fd4e15b9b6980e7ad8 /source/blender/python/mathutils/mathutils_Quaternion.c
parent28dfe13cd85bd714fc1cf22dfe5792b8e156816e (diff)
parentefe94793c0854454517f49f833f688e0652f4ec0 (diff)
Merge branch 'master' into soc-2018-hair-shadersoc-2018-hair-shader
Week 10 merge: no issues
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Quaternion.c')
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index 1a6fd0ee86f..48c18dd20c1 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -1100,7 +1100,8 @@ static PyObject *Quaternion_new(PyTypeObject *type, PyObject *args, PyObject *kw
{
PyObject *seq = NULL;
double angle = 0.0f;
- float quat[QUAT_SIZE] = {0.0f, 0.0f, 0.0f, 0.0f};
+ float quat[QUAT_SIZE];
+ unit_qt(quat);
if (kwds && PyDict_Size(kwds)) {
PyErr_SetString(PyExc_TypeError,