diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-08-10 10:36:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-08-10 10:36:42 +0400 |
commit | c0e39df6ac42d137fd51eeea463aace856bf97d4 (patch) | |
tree | 86be54ecb6f01b8192905a05707b12402970d5a4 /source/blender/makesdna/DNA_lattice_types.h | |
parent | 41531e4fb6547df543a80d62b473c250d5b78753 (diff) |
- Enable shape key switching in edit mode for curves, surfaces and latticies
- Disable changing of lattice size if there are shape keys
Diffstat (limited to 'source/blender/makesdna/DNA_lattice_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lattice_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 ********************* */ |