SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
102 stars 32 forks source link

If a mesh is completely clipped away, the optimization setup will crash #2092

Open akenmorris opened 1 year ago

akenmorris commented 1 year ago

If mesh clipping ends up reducing the mesh to nothing, then the optimization setup will crash. Some code checking for contours tries to access the first cell without checking if there are any cells.