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/drawmesh.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/drawmesh.c')
-rw-r--r--source/blender/src/drawmesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c
index 79ac7b8435c..4b1338cba3f 100644
--- a/source/blender/src/drawmesh.c
+++ b/source/blender/src/drawmesh.c
@@ -780,7 +780,7 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
if(dt > OB_SOLID) {
bProperty *prop = get_property(ob, "Text");
- MFaceInt *mfaceint= NULL;
+ MFace *mfaceint= NULL;
int editing= (G.f & (G_VERTEXPAINT+G_FACESELECT+G_TEXTUREPAINT+G_WEIGHTPAINT)) && (ob==((G.scene->basact) ? (G.scene->basact->object) : 0));
MVert *mvert=NULL;
int totface;
@@ -815,7 +815,7 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
float *v1, *v2, *v3, *v4;
if (mfaceint) {
- MFaceInt *mf= &mfaceint[a];
+ MFace *mf= &mfaceint[a];
v1idx= mf->v1;
v2idx= mf->v2;