[Bf-blender-cvs] [3930e46e37b] master: Correct last commit

Campbell Barton noreply at git.blender.org
Sat Sep 9 02:07:30 CEST 2017


Commit: 3930e46e37b58e1ff8d246dc4fb29d7ec5821ed8
Author: Campbell Barton
Date:   Sat Sep 9 10:14:53 2017 +1000
Branches: master
https://developer.blender.org/rB3930e46e37b58e1ff8d246dc4fb29d7ec5821ed8

Correct last commit

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

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

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

diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c
index f53a454d2cf..e48690a80fe 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -2751,7 +2751,7 @@ static PyGetSetDef Vector_getseters[] = {
  *     set_str = 'Vector_swizzle_set' if (len(set(key)) == len(key)) else 'NULL'
  *     key_args = ', '.join(["'%s'" % c for c in key.upper()])
  *     print('\t{(char *)"%s", %s(getter)Vector_swizzle_get, (setter)%s, NULL, SWIZZLE%d(%s)},' %
- *           (len(key), key, (' ' * (4 - len(key))), set_str, key_args))
+ *           (key, (' ' * (4 - len(key))), set_str, len(key), key_args))
  *     unique.add(num)
  *
  * if len(unique) != len(items):



More information about the Bf-blender-cvs mailing list