Add SchemaVersion to RestoreDocFile to distinquish double from float binary

This commit is contained in:
jriegel
2013-09-23 13:13:50 +02:00
parent 29c3fa6458
commit 68078487c7
39 changed files with 78 additions and 70 deletions

View File

@@ -783,7 +783,7 @@ void FemMesh::SaveDocFile (Base::Writer &writer) const
fi.deleteFile();
}
void FemMesh::RestoreDocFile(Base::Reader &reader)
void FemMesh::RestoreDocFile(Base::Reader &reader, const int DocumentSchema)
{
// create a temporary file and copy the content from the zip stream
Base::FileInfo fi(Base::FileInfo::getTempFileName().c_str());
@@ -890,4 +890,4 @@ struct Fem::FemMesh::FemMeshInfo FemMesh::getInfo(void) const{
return rtrn;
}
}