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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-07 16:02:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 16:02:44 +0300
commitbd023c443b9619ddfa467da79755204885b61a89 (patch)
tree7ff8ada5cb21360b4934e6343a0f2f252915f54f /source/blender/makesdna
parent3fab280c61c2655c0e493bcbd20b12ff3cd0bdc2 (diff)
remove mat_nr from MVert struct, saves 4 bytes per vertex.
used to be used for halo's
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 450c56b0dec..9761eda5de7 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -61,8 +61,7 @@ typedef struct MDeformVert {
typedef struct MVert {
float co[3];
short no[3];
- short mat_nr;
- char flag, bweight, pad[2];
+ char flag, bweight;
} MVert;
/* at the moment alpha is abused for vertex painting