This commit is contained in:
Vojtech Bubnik 2022-10-26 19:05:50 +02:00
parent 9e9792756b
commit f8c67e07a4
3 changed files with 3 additions and 3 deletions
src/libslic3r

View file

@ -962,7 +962,7 @@ void PrintObject::detect_surfaces_type()
#endif /* SLIC3R_DEBUG_SLICE_PROCESSING */
// save surfaces to layer
Surfaces &surfaces_out = interface_shells ? surfaces_new[idx_layer] : layerm->slices().surfaces;
Surfaces &surfaces_out = interface_shells ? surfaces_new[idx_layer] : layerm->m_slices.surfaces;
Surfaces surfaces_backup;
if (! interface_shells) {
surfaces_backup = std::move(surfaces_out);