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-08-15 21:31:28 +0400
committerJoseph Eagar <joeedh@gmail.com>2009-08-15 21:31:28 +0400
commit348dc14d5b3511d2d999e60c47308a2fa5fb5033 (patch)
treeeaa4b969a3cd7721ece1a9962a1b0905f9c950ab /source/blender/blenkernel/BKE_DerivedMesh.h
parent5c7982de5e3a18ab54c7e265e29d9b9e219a0c17 (diff)
made the crash handler disabled by a command line flag, insted of being #ifdef'd out on release builds. also did little bit of work on subsurf. and face select can now deselect again, and fixed some other bugs with it (and subsurf).
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r--source/blender/blenkernel/BKE_DerivedMesh.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h
index 6288e5d71b0..ba831cdf015 100644
--- a/source/blender/blenkernel/BKE_DerivedMesh.h
+++ b/source/blender/blenkernel/BKE_DerivedMesh.h
@@ -124,6 +124,19 @@ typedef struct DMLoopIter {
loop refers to per-face-vertex data.*/
void *(*getLoopCDData)(void *self, int type, int layer);
void *(*getVertCDData)(void *self, int type, int layer);
+
+/* derivedmesh 2.0 interface ideas (will likely never be implemented ;):
+ void (*interpLoopData)(void *self, void **src_blocks,
+ float *weights, float *sub_weights, int count);
+
+ //a generic handle for a loop
+ intptr_t lhandle;
+
+ inside DerivedMesh itself:
+ //
+ //void (*interpLoopData)(DerivedMesh *dm, DMLoopIter *destloop,
+ // intptr_t *loop_handles, int totloop);
+*/
} DMLoopIter;
typedef struct DMFaceIter {
@@ -227,7 +240,7 @@ struct DerivedMesh {
void (*copyFromVertCData)(DerivedMesh *dm, int source, CustomData *dst, int dest);
void (*copyFromEdgeCData)(DerivedMesh *dm, int source, CustomData *dst, int dest);
void (*copyFromFaceCData)(DerivedMesh *dm, int source, CustomData *dst, int dest);
-
+
/* Iterate over each mapped vertex in the derived mesh, calling the
* given function with the original vert and the mapped vert's new
* coordinate and normal. For historical reasons the normal can be
@@ -431,6 +444,8 @@ void DM_add_vert_layer(struct DerivedMesh *dm, int type, int alloctype,
void *layer);
void DM_add_edge_layer(struct DerivedMesh *dm, int type, int alloctype,
void *layer);
+void DM_add_tessface_layer(struct DerivedMesh *dm, int type, int alloctype,
+ void *layer);
void DM_add_face_layer(struct DerivedMesh *dm, int type, int alloctype,
void *layer);
@@ -450,6 +465,7 @@ void *DM_get_face_data(struct DerivedMesh *dm, int index, int type);
*/
void *DM_get_vert_data_layer(struct DerivedMesh *dm, int type);
void *DM_get_edge_data_layer(struct DerivedMesh *dm, int type);
+void *DM_get_tessface_data_layer(struct DerivedMesh *dm, int type);
void *DM_get_face_data_layer(struct DerivedMesh *dm, int type);
/* custom data setting functions