From e55833a0944fdaa78c879228dc993a11b3ca0e9b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jun 2011 06:40:09 +0000 Subject: fix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice. --- source/blender/makesdna/DNA_lattice_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_lattice_types.h') 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 -- cgit v1.2.3