diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-10-04 21:06:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-10-04 21:06:29 +0400 |
commit | 0c6bb8c079008e280cf1cba774ca17b176c6082b (patch) | |
tree | d522327dad866ae7d14315c394e9dc42e93b72ac /source/blender/python/api2_2x/Mesh.h | |
parent | 0f497dea2bcc58211aecd4aaab90ed4031b31eb5 (diff) |
mesh.transform() was applying the inverted 4x4 matrix to the normals, without removing the translation part.
iter with a char value did not allow for -1, my bad, using short now.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.h')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Mesh.h b/source/blender/python/api2_2x/Mesh.h index 43a1154b11e..2599ae38fe3 100644 --- a/source/blender/python/api2_2x/Mesh.h +++ b/source/blender/python/api2_2x/Mesh.h @@ -89,7 +89,7 @@ typedef struct { PyObject_VAR_HEAD /* required python macro */ Mesh *mesh; /* points to a Mesh */ int index; - char iter; /* char because it can only ever be between -1 and 2 */ + short iter; /* char because it can only ever be between -1 and 2 */ } BPy_MEdge; /* a Mesh edge */ typedef struct { @@ -102,7 +102,7 @@ typedef struct { PyObject_VAR_HEAD /* required python macro */ Mesh * mesh; int index; - char iter; /* char because it can only ever be between -1 and 4 */ + short iter; /* char because it can only ever be between -1 and 4 */ } BPy_MFace; /* a Mesh face */ typedef struct { |