correct define
[blender.git] / source / blender / blenloader / intern / writefile.c
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;