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:
authorJoseph Eagar <joeedh@gmail.com>2009-09-15 19:32:09 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-09-15 19:32:09 +0400
commit86b474a344c452c47666af82c6a8077bea0635e2 (patch)
tree6abdc219e5ad7240d75c3c7af3ec5009648cc55a /source/blender/makesdna/DNA_customdata_types.h
parent2601aa9cf37bed73b2808536f05506f367d87952 (diff)
made subsurf object mode conversion faster, though still needs a bit more work
Diffstat (limited to 'source/blender/makesdna/DNA_customdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_customdata_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_customdata_types.h b/source/blender/makesdna/DNA_customdata_types.h
index 132cad94a1c..2b8cd90b4d5 100644
--- a/source/blender/makesdna/DNA_customdata_types.h
+++ b/source/blender/makesdna/DNA_customdata_types.h
@@ -49,6 +49,7 @@ typedef struct CustomDataLayer {
* layers, each with a data type (e.g. MTFace, MDeformVert, etc.). */
typedef struct CustomData {
CustomDataLayer *layers; /* CustomDataLayers, ordered by type */
+ int typemap[100]; /* maps types to indices of first layer of that type */
int totlayer, maxlayer; /* number of layers, size of layers array */
int totsize, pad; /* in editmode, total size of all data layers */
void *pool; /* for Bmesh: Memory pool for allocation of blocks*/