diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-11 19:38:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-11 19:38:37 +0300 |
commit | 97f892b86b9b31e8165c27c698da7996dfd2d0a2 (patch) | |
tree | 41a2de3709265c3e871c29aa02d1aacf36e21dac /source/blender/blenlib | |
parent | 9e717b59cb4feb16314f0b2c026ebfd9278862a5 (diff) |
Added custom face data support in edit mode. The code used to do this is
the CustomData module from the modifier stack rewrite, but with additions
to make it also usable in edit mode. Some of the datatypes from that
module were move to a DNA header file, they are not saved to file now, but
will be soon.
The only code that wasn't abstracted is the uv collapse / merging code. It
is rather complicated, will look into that in the future.
There should be no user level changes.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_editVert.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index 0592f04f05d..25559043bc8 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -38,6 +38,7 @@ #ifndef BLI_EDITVERT_H #define BLI_EDITVERT_H +#include "DNA_customdata_types.h" #include "DNA_mesh_types.h" struct DerivedMesh; @@ -125,7 +126,6 @@ typedef struct EditFace float fp; } tmp; float n[3], cent[3]; - struct TFace tf; /* a copy of original tface. */ unsigned char mat_nr, flag; unsigned char f, f1, h; unsigned char fast; /* only 0 or 1, for editmesh_fastmalloc */ @@ -133,6 +133,7 @@ typedef struct EditFace /*#ifdef WITH_VERSE*/ void *vface; /*#endif*/ + void *data; /* custom face data */ } EditFace; @@ -167,6 +168,8 @@ typedef struct EditMesh char retopo_mode; /* 0=OFF, 1=ON, 2=PAINT */ struct RetopoPaintData *retopo_paint_data; + CustomData fdata; + #ifdef WITH_VERSE void *vnode; #endif |