[Bf-blender-cvs] [0c82a6fec83] master: Cleanup: unused define

Campbell Barton noreply at git.blender.org
Thu Sep 21 14:43:25 CEST 2017


Commit: 0c82a6fec834077559e795fca957a79b3e4546ef
Author: Campbell Barton
Date:   Fri Sep 22 07:23:03 2017 +1000
Branches: master
https://developer.blender.org/rB0c82a6fec834077559e795fca957a79b3e4546ef

Cleanup: unused define

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

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 5d46dc284f4..65450505e08 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -2401,7 +2401,6 @@ static int Vector_swizzle_set(VectorObject *self, PyObject *value, void *closure
 #define _SWIZZLE3(a, b, c)    (_SWIZZLE2(a, b)    | (((c) | SWIZZLE_VALID_AXIS) << (SWIZZLE_BITS_PER_AXIS * 2)))
 #define _SWIZZLE4(a, b, c, d) (_SWIZZLE3(a, b, c) | (((d) | SWIZZLE_VALID_AXIS) << (SWIZZLE_BITS_PER_AXIS * 3)))
 
-#define SWIZZLE1(a)          SET_INT_IN_POINTER(_SWIZZLE1(a))
 #define SWIZZLE2(a, b)       SET_INT_IN_POINTER(_SWIZZLE2(a, b))
 #define SWIZZLE3(a, b, c)    SET_INT_IN_POINTER(_SWIZZLE3(a, b, c))
 #define SWIZZLE4(a, b, c, d) SET_INT_IN_POINTER(_SWIZZLE4(a, b, c, d))



More information about the Bf-blender-cvs mailing list