correct define
This commit is contained in:
@@ -2375,7 +2375,7 @@ int mesh_recalcTesselation(CustomData *fdata,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_MESH_FORWARDS_COMAT
|
#ifdef USE_BMESH_SAVE_AS_COMPAT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* this function recreates a tesselation.
|
* this function recreates a tesselation.
|
||||||
@@ -2480,7 +2480,7 @@ int mesh_mpoly_to_mface(struct CustomData *fdata, struct CustomData *ldata,
|
|||||||
|
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
#endif /* USE_MESH_FORWARDS_COMAT */
|
#endif /* USE_BMESH_SAVE_AS_COMPAT */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COMPUTE POLY NORMAL
|
* COMPUTE POLY NORMAL
|
||||||
|
|||||||
@@ -1685,7 +1685,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
|
|||||||
Mesh *mesh;
|
Mesh *mesh;
|
||||||
int save_for_old_blender= 0;
|
int save_for_old_blender= 0;
|
||||||
|
|
||||||
#ifdef USE_MESH_FORWARDS_COMAT
|
#ifdef USE_BMESH_SAVE_AS_COMPAT
|
||||||
save_for_old_blender = wd->use_mesh_compat; /* option to save with older mesh format */
|
save_for_old_blender = wd->use_mesh_compat; /* option to save with older mesh format */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1710,7 +1710,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
#ifdef USE_MESH_FORWARDS_COMAT
|
#ifdef USE_BMESH_SAVE_AS_COMPAT
|
||||||
|
|
||||||
Mesh backup_mesh = {{0}};
|
Mesh backup_mesh = {{0}};
|
||||||
|
|
||||||
@@ -1788,7 +1788,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
|
|||||||
mesh->edit_btmesh = backup_mesh.edit_btmesh; /* keep this after updating custom pointers */
|
mesh->edit_btmesh = backup_mesh.edit_btmesh; /* keep this after updating custom pointers */
|
||||||
/* restore */
|
/* restore */
|
||||||
|
|
||||||
#endif /* USE_MESH_FORWARDS_COMAT */
|
#endif /* USE_BMESH_SAVE_AS_COMPAT */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mesh= mesh->id.next;
|
mesh= mesh->id.next;
|
||||||
|
|||||||
Reference in New Issue
Block a user