Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationExporter.cs
===================================================================
diff -u -r681fe6f5c04ea2acdb99801dd749a11a174d5b42 -ref881721312166028ed88eaa21dfd1ee8a5cbba4
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationExporter.cs (.../ClosingStructuresCalculationConfigurationExporter.cs) (revision 681fe6f5c04ea2acdb99801dd749a11a174d5b42)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/Configurations/ClosingStructuresCalculationConfigurationExporter.cs (.../ClosingStructuresCalculationConfigurationExporter.cs) (revision ef881721312166028ed88eaa21dfd1ee8a5cbba4)
@@ -46,7 +46,7 @@
/// The path of the XML file to export to.
/// Thrown when is null.
/// Thrown when is invalid.
- public ClosingStructuresCalculationConfigurationExporter(IEnumerable calculations, string filePath)
+ public ClosingStructuresCalculationConfigurationExporter(IEnumerable calculations, string filePath)
: base(calculations, filePath) {}
protected override ClosingStructuresCalculationConfiguration ToConfiguration(StructuresCalculation calculation)
@@ -57,6 +57,11 @@
HydraulicBoundaryLocationName = input.HydraulicBoundaryLocation?.Name
};
+ if (input.ShouldIllustrationPointsBeCalculated)
+ {
+ calculationConfiguration.ShouldIllustrationPointsBeCalculated = input.ShouldIllustrationPointsBeCalculated;
+ }
+
if (input.Structure != null)
{
calculationConfiguration.StructureId = input.Structure.Id;