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/").
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user