diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-07-22 03:41:01 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2008-07-22 03:41:01 +0400 |
commit | b0b2a57e66a982ca714c667390f93eddc0f26653 (patch) | |
tree | 06f0da3a110fb1a9cc6af06caaf2bb2d9ab5acc6 /source/blender/makesdna | |
parent | e84f5bdecf80a7981e4d830391631b8b59582f16 (diff) |
Started removing the old multires code. Also removed a few pointers in the DNA data that won't be needed for backwards-compat. Put a warning in the Python code as a reminder that it'll need to be updated to work with the new multires code.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index bf7a7ae14ba..0dc3b76d4cf 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -122,7 +122,7 @@ typedef struct MDisps { float (*disps)[3]; } MDisps; -/* Multiresolution modeling */ +/** Multires structs kept for compatibility with old files **/ typedef struct MultiresCol { float a, r, g, b; } MultiresCol; @@ -148,15 +148,9 @@ typedef struct MultiresLevel { MultiresColFace *colfaces; MultiresEdge *edges; - /* Temporary connectivity data */ - char *edge_boundary_states; - struct ListBase *vert_edge_map; - struct ListBase *vert_face_map; - struct MultiresMapNode *map_mem; - unsigned int totvert, totface, totedge, pad; - /* Kept for compatibility with older files */ + /* Kept for compatibility with even older files */ MVert *verts; } MultiresLevel; @@ -174,6 +168,8 @@ typedef struct Multires { char *edge_creases; } Multires; +/** End Multires **/ + typedef struct PartialVisibility { unsigned int *vert_map; /* vert_map[Old Index]= New Index */ int *edge_map; /* edge_map[Old Index]= New Index, -1= hidden */ |