diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 00:58:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 00:58:03 +0400 |
commit | 98aececc8e61e7d6d9225e59ab10d27da9498953 (patch) | |
tree | cee5dfeb04d4c0016dadaeabcfad5428ac7e692c /source/blender/modifiers/intern | |
parent | 4f4bba39fb0da31bb4adad7e5110f98f85e59ebe (diff) |
bmesh code cleanup
* change BMO_elem_flag_* defines to inline functions.
* BMO_slot_map_insert() is too big for an inline function - un-inline it.
* remove redundant casts.
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index dd40dc6f59b..4366ea7ee08 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -306,7 +306,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd, BMO_op_callf(em->bm, "transform mat=%m4 verts=%s", offset, &op, "newout"); - #define _E(s, i) ((BMVert**)(s)->data.buf)[i] + #define _E(s, i) ((BMVert **)(s)->data.buf)[i] /*calculate merge mapping*/ if (j == 0) { |