correct define
authorCampbell Barton <ideasman42@gmail.com>
Wed, 28 Dec 2011 15:07:00 +0000 (15:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 28 Dec 2011 15:07:00 +0000 (15:07 +0000)
source/blender/blenkernel/intern/mesh.c
source/blender/blenloader/intern/writefile.c

index 5c310eccf8bb951b8f67167f35f4c295efd60b38..5ff5c89eb816da71da456dcef8235fab7246cbd2 100644 (file)
@@ -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.
@@ -2480,7 +2480,7 @@ int mesh_mpoly_to_mface(struct CustomData *fdata, struct CustomData *ldata,
 
        return k;
 }
-#endif /* USE_MESH_FORWARDS_COMAT */
+#endif /* USE_BMESH_SAVE_AS_COMPAT */
 
 /*
  * COMPUTE POLY NORMAL
index c1759aa80fdf3851202143d7d23d277c3602a381..ac2eef4544273f56cd154f89b3ee3b887a4b275e 100644 (file)
@@ -1685,7 +1685,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
        Mesh *mesh;
        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 */
 #endif
 
@@ -1710,7 +1710,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
                        }
                        else {
 
-#ifdef USE_MESH_FORWARDS_COMAT
+#ifdef USE_BMESH_SAVE_AS_COMPAT
 
                                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 */
                                /* restore */
 
-#endif /* USE_MESH_FORWARDS_COMAT */
+#endif /* USE_BMESH_SAVE_AS_COMPAT */
                        }
                }
                mesh= mesh->id.next;