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:
authorChris Want <cwant@ualberta.ca>2004-03-15 00:00:51 +0300
committerChris Want <cwant@ualberta.ca>2004-03-15 00:00:51 +0300
commitdd3c9c0c466d74d20e42db6ec994dc0ddbb7ee9b (patch)
tree0213330438695db5f4da4efdc63479a950014b46 /source/blender/src/buttons_editing.c
parenta91ef3f4e1a329c103be54a278752d65bd3529f0 (diff)
Removed the struct MFaceInt from DNA_mesh_types.h (by the recommendation
of zr). This struct was never written to file and the new 'int based' MFace can be used in it's place. Some removal of redundant code could perhaps be done now (I didn't do any though, just "s/MFaceInt/MFace/").
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 94ab79f7cee..01bfde3c04e 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -258,7 +258,7 @@ static void decimate_faces(void)
if( LOD_PreprocessMesh(&lod) ) {
DispList *dl;
DispListMesh *dlm;
- MFaceInt *mfaceint;
+ MFace *mfaceint;
/* we assume the decim_faces tells how much to reduce */
@@ -273,7 +273,7 @@ static void decimate_faces(void)
dl->type= DL_MESH;
dlm=dl->mesh= MEM_callocN(sizeof(DispListMesh), "dispmesh");
dlm->mvert= MEM_callocN(lod.vertex_num*sizeof(MVert), "mvert");
- dlm->mface= MEM_callocN(lod.face_num*sizeof(MFaceInt), "mface");
+ dlm->mface= MEM_callocN(lod.face_num*sizeof(MFace), "mface");
dlm->totvert= lod.vertex_num;
dlm->totface= lod.face_num;
@@ -325,7 +325,7 @@ static void decimate_apply(void)
DispListMesh *dlm;
Mesh *me;
MFace *mface;
- MFaceInt *mfaceint;
+ MFace *mfaceint;
int a;
if(G.obedit) return;