mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 04:35:57 +08:00
Bugfix for segefault on zero support meterial generation
This commit is contained in:
parent
1db87ed41a
commit
22195b3bd7
@ -69,6 +69,10 @@ SupportMaterial::generate(PrintObject *object)
|
||||
map<coordf_t, Polygons> &contact = contact_overhang.first;
|
||||
map<coordf_t, Polygons> &overhang = contact_overhang.second;
|
||||
|
||||
//bugfix: do not try to generate overhang if there is no contact area
|
||||
if( contact.empty() )
|
||||
return;
|
||||
|
||||
// Determine the top surfaces of the object. We need these to determine
|
||||
// the layer heights of support material and to clip support to the object
|
||||
// silhouette.
|
||||
|
Loading…
x
Reference in New Issue
Block a user