Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs =================================================================== diff -u -r4540 -r4687 --- DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs (.../SoilProfile2D.cs) (revision 4540) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs (.../SoilProfile2D.cs) (revision 4687) @@ -86,6 +86,8 @@ const double diff = 0.001; if (Geometry.Surfaces.Count == 0) { + // TODO: This codeblock in the if-statement does not belong here. It should be handled in FillDamFromXmlInput.TransferSoilProfiles2D() + // I added the code to FillDamFromXmlInput.AddLayers2D(), which is called in above mentioned method, so I think this can be removed foreach (SoilLayer2D soilLayer2D in Surfaces) { var loop = new GeometryLoop();