Fix the tests after EigenMesh3D refactor

This commit is contained in:
tamasmeszaros 2020-06-02 17:15:08 +02:00
parent dc725ecbad
commit 10c59b0d00
3 changed files with 8 additions and 2 deletions

View file

@ -105,8 +105,13 @@ void test_supports(const std::string &obj_filename,
// Create the special index-triangle mesh with spatial indexing which
// is the input of the support point and support mesh generators
sla::EigenMesh3D emesh{mesh};
#ifdef SLIC3R_HOLE_RAYCASTER
if (hollowingcfg.enabled)
emesh.load_holes(drainholes);
#endif
// TODO: do the cgal hole cutting...
// Create the support point generator
sla::SupportPointGenerator::Config autogencfg;