diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-12-23 13:37:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-12-23 13:37:50 +0300 |
commit | 67630324d356429b964331f9be6abbeddb222ee9 (patch) | |
tree | 925f5d53786f104874f6b0df9231e37516c842ed /source/blender/python/api2_2x/NMesh.h | |
parent | e2ab16fae78d42b851551f401a114b8f29528a4f (diff) |
Preserve multiple UV and vertex color layers in NMesh.
Diffstat (limited to 'source/blender/python/api2_2x/NMesh.h')
-rw-r--r-- | source/blender/python/api2_2x/NMesh.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h index ccc58f15ef9..5c689f775b8 100644 --- a/source/blender/python/api2_2x/NMesh.h +++ b/source/blender/python/api2_2x/NMesh.h @@ -41,6 +41,7 @@ #include <config.h> #endif +#include "DNA_customdata_types.h" #include "DNA_object_types.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" @@ -101,6 +102,7 @@ typedef struct { unsigned char transp; Image *image; char mat_nr, mf_flag /* was char smooth */; + int orig_index; } BPy_NMFace; /* an NMesh face */ @@ -131,6 +133,11 @@ typedef struct { #define NMESH_HASVERTUV (1<<1) #define NMESH_HASFACEUV (1<<2) + /* stores original data that is not accesible through NMesh, but that we + still want to preserve, indexed by orig_index in NMFace */ + CustomData fdata; + int totfdata; + } BPy_NMesh; /* PROTOS */ |