Add SchemaVersion to RestoreDocFile to distinquish double from float binary
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user