went over all uses of mesh->mface and added BMESH_TODO comments for
areas that need to be updated.
This commit is contained in:
@@ -327,6 +327,8 @@ static void extern_local_image(Image *UNUSED(ima))
|
||||
match id_make_local pattern. */
|
||||
}
|
||||
|
||||
/* BMESH_TODO - MTexPoly, currently this function only does 'me->mtface' */
|
||||
|
||||
void make_local_image(struct Image *ima)
|
||||
{
|
||||
Main *bmain= G.main;
|
||||
|
||||
@@ -774,6 +774,8 @@ void psys_render_restore(Object *ob, ParticleSystem *psys)
|
||||
psys->renderdata= NULL;
|
||||
}
|
||||
|
||||
/* BMESH_TODO, for orig face data, we need to use MPoly */
|
||||
|
||||
int psys_render_simplify_distribution(ParticleThreadContext *ctx, int tot)
|
||||
{
|
||||
DerivedMesh *dm= ctx->dm;
|
||||
|
||||
@@ -1079,6 +1079,7 @@ static int mirror_facecmp(const void *a, const void *b)
|
||||
return (mirror_facerotation((MFace*)a, (MFace*)b) == -1);
|
||||
}
|
||||
|
||||
/* BMESH_TODO, convert to MPoly (functions above also) */
|
||||
int *mesh_get_x_mirror_faces(Object *ob, BMEditMesh *em)
|
||||
{
|
||||
Mesh *me= ob->data;
|
||||
|
||||
@@ -949,6 +949,7 @@ static int multiresbake_check(bContext *C, wmOperator *op)
|
||||
|
||||
ok= 0;
|
||||
} else {
|
||||
/* BMESH_TODO - use MPoly rather then tessface */
|
||||
a= me->totface;
|
||||
while (ok && a--) {
|
||||
Image *ima= me->mtface[a].tpage;
|
||||
|
||||
@@ -778,6 +778,8 @@ static int tryToAddVerts(int *verts, int length, int a, int b)
|
||||
return added;
|
||||
}
|
||||
|
||||
/* BMESH_TODO - use MPoly's */
|
||||
|
||||
/* This finds all of the vertices connected to vert by an edge
|
||||
and returns an array of indices of size count
|
||||
|
||||
|
||||
@@ -257,6 +257,8 @@ void crazyspace_set_quats_editmesh(BMEditMesh *em, float *origcos, float *mapped
|
||||
#endif
|
||||
}
|
||||
|
||||
/* BMESH_TODO - use MPolys over MFace's */
|
||||
|
||||
void crazyspace_set_quats_mesh(Mesh *me, float *origcos, float *mappedcos, float *quats)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user