diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 10:40:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 10:40:09 +0400 |
commit | e55833a0944fdaa78c879228dc993a11b3ca0e9b (patch) | |
tree | 1e549217f028fffacab05c33db5b640c9726aba5 /source/blender/makesdna | |
parent | dd4f0f0b9dcdc0b38d908ada34af6be6292a578c (diff) |
fix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_lattice_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h index 662ef9e8a45..a9e745b8148 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -83,5 +83,7 @@ typedef struct Lattice { #define LT_DS_EXPAND 4 +#define LT_INDEX(lt, u, v, w) ((w) * ((lt)->pntsu * (lt)->pntsv) + ((v) * (lt)->pntsu) + (u)) + #endif |