Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs =================================================================== diff -u -r6303 -r6308 --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6303) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6308) @@ -79,7 +79,7 @@ TransferAnalysisSpecification(damProjectData, input); TransferStabilityParameters(damProjectData, input); - input.Locations = new DamEngine.Io.XmlInput.Location[filteredJobs.Count]; + input.Locations = new DamEngine.Io.XmlInput.Location[filteredLocations.Count]; TransferLocations(filteredLocations, input.Locations); // Process segments @@ -505,8 +505,8 @@ } } - private static void TransferSoils(List soils, DamEngine.Io.XmlInput.Soil[] inputSoils) { - + private static void TransferSoils(List soils, DamEngine.Io.XmlInput.Soil[] inputSoils) + { for (var i = 0; i < soils.Count; i++) { Soil soil = soils[i];