From c0e39df6ac42d137fd51eeea463aace856bf97d4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 10 Aug 2010 06:36:42 +0000 Subject: - Enable shape key switching in edit mode for curves, surfaces and latticies - Disable changing of lattice size if there are shape keys --- source/blender/makesdna/DNA_lattice_types.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (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 3a0fcb3c38c..94fc9fefb66 100644 --- a/source/blender/makesdna/DNA_lattice_types.h +++ b/source/blender/makesdna/DNA_lattice_types.h @@ -36,6 +36,14 @@ struct Ipo; struct Key; struct MDeformVert; +typedef struct EditLatt { + struct Lattice *latt; + + int shapenr; + + char pad[4]; +} EditLatt; + typedef struct Lattice { ID id; @@ -58,7 +66,7 @@ typedef struct Lattice { float *latticedata; float latmat[4][4]; - struct Lattice *editlatt; + struct EditLatt *editlatt; } Lattice; /* ***************** LATTICE ********************* */ -- cgit v1.2.3