Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Bantle <hairbat@yahoo.com>2006-04-03 23:02:22 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2006-04-03 23:02:22 +0400
commitcc8051eeadc09228fd5176dc145b0bc0caa2f89b (patch)
tree374ee3290094f75651749dc0b274722ec3daa34c /source/blender/makesdna/DNA_mesh_types.h
parente9a9caee4c05dd1421cdc59a1ed3b85dfd457a9d (diff)
-> Stored Selections in Mesh DNA
Stored selections now get saved to mesh library blocks as direct data. The idea that stored selections are 'erased' when leaving editmode and switching objects is pretty mysterious for the user. Note that currently the mselect array in a mesh is not written to file. Not sure whether to change this or not.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index e5496c895bc..6f477e963c6 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -79,11 +79,12 @@ typedef struct Mesh {
struct MCol *mcol;
struct MSticky *msticky;
struct Mesh *texcomesh;
-
+ struct MSelect *mselect;
+
struct OcInfo *oc; /* not written in file */
void *sumohandle;
- int totvert, totedge, totface;
+ int totvert, totedge, totface, totselect, pad2;
int texflag;
float loc[3];