Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2DSurfaceLineHelper.cs =================================================================== diff -u -r5755 -r5764 --- DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2DSurfaceLineHelper.cs (.../SoilProfile2DSurfaceLineHelper.cs) (revision 5755) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2DSurfaceLineHelper.cs (.../SoilProfile2DSurfaceLineHelper.cs) (revision 5764) @@ -73,6 +73,10 @@ public static SoilProfile2D CombineSurfaceLineWithSoilProfile2D(GeometryPointString surfaceLine, SoilProfile2D soilProfile2D, Soil defaultSoil, double shift) { + // Temporary code to revert the changes in MWDAM-2677 because the created geometry with shift > 0 is incorrect + // (new layers do not have the embankment soil as material) + shift = 0; + if (soilProfile2D == null || soilProfile2D.Surfaces.Count == 0) return null; if (surfaceLine == null || surfaceLine.Points.Count == 0)