Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files

This commit is contained in:
jrheinlaender
2013-03-27 11:47:18 +04:30
parent 4dcc5eb6cb
commit fdc3e50811
39 changed files with 119 additions and 78 deletions

View File

@@ -64,10 +64,10 @@ void Feature::Restore(Base::XMLReader &reader)
GeoFeature::Restore(reader);
}
void Feature::RestoreDocFile(Base::Reader &reader)
void Feature::RestoreDocFile(Base::Reader &reader, const int FileVersion)
{
// This gets only invoked if a points file has been added from Restore()
Points.RestoreDocFile(reader);
Points.RestoreDocFile(reader, FileVersion);
}
void Feature::onChanged(const App::Property* prop)