diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-16 12:36:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-16 12:36:08 +0400 |
commit | dfc7d63911b10f987d1223c892a7e62ddc317844 (patch) | |
tree | a983341d2bf5cb65f27edfb3f336ef53782c02b8 /source/blender/python/generic | |
parent | d776dcf795c838996af16fca27922cec61d84b28 (diff) |
- typos in boxpack comments (incorrectly had comment that it was from NAN)
- removed unused defines STREQ, STREQ2, STREQ3 and MINSIZE
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/euler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/euler.c b/source/blender/python/generic/euler.c index 14ee03ad888..73fcaeb457b 100644 --- a/source/blender/python/generic/euler.c +++ b/source/blender/python/generic/euler.c @@ -242,7 +242,7 @@ static PyObject *Euler_Rotate(EulerObject * self, PyObject *args) PyErr_SetString(PyExc_TypeError, "euler.rotate():expected angle (float) and axis (x,y,z)"); return NULL; } - if(!STREQ3(axis,"x","y","z")){ + if(ELEM3(*axis, 'x', 'y', 'z') && axis[1]=='\0'){ PyErr_SetString(PyExc_TypeError, "euler.rotate(): expected axis to be 'x', 'y' or 'z'"); return NULL; } |