Index: src/Deltares.DSoilModel.Forms/FilmStrip.cs =================================================================== diff -u -r631 -r862 --- src/Deltares.DSoilModel.Forms/FilmStrip.cs (.../FilmStrip.cs) (revision 631) +++ src/Deltares.DSoilModel.Forms/FilmStrip.cs (.../FilmStrip.cs) (revision 862) @@ -125,21 +125,27 @@ thumbnailList.Add(spatialEditor.GetImage(500, 500)); } - - var soilProfile2D = soilProfile as SoilProfile2D; - if (soilProfile2D != null) + else { - spatialEditor.Clear(); - spatialEditor.AddObject(boundingBox2D); - spatialEditor.AddObject(soilProfile2D); - spatialEditor.AddObject(soilProfile2D.Geometry); - spatialEditor.AddList(soilProfile2D.Surfaces); - spatialEditor.AddList(soilProfile2D.Geometry.Curves); - spatialEditor.EmptySelection = new EmptyShape(soilProfile); - spatialEditor.Refresh(); - spatialEditor.ZoomToExtents(true); + var soilProfile2D = soilProfile as SoilProfile2D; + if (soilProfile2D != null && soilProfile2D.Geometry.Curves.Count > 0) + { + spatialEditor.Clear(); + spatialEditor.AddObject(boundingBox2D); + spatialEditor.AddObject(soilProfile2D); + spatialEditor.AddObject(soilProfile2D.Geometry); + spatialEditor.AddList(soilProfile2D.Surfaces); + spatialEditor.AddList(soilProfile2D.Geometry.Curves); + spatialEditor.EmptySelection = new EmptyShape(soilProfile); + spatialEditor.Refresh(); + spatialEditor.ZoomToExtents(true); - thumbnailList.Add(spatialEditor.GetImage(500, 500)); + thumbnailList.Add(spatialEditor.GetImage(500, 500)); + } + else + { + thumbnailList.Add(Resources.EmptyThumbnail); + } } } else