diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index a10a5e81a..77838ab8f 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -139,7 +139,7 @@ sub slice { # free memory undef $mesh; - undef $self->meshes->[$region_id];return; + undef $self->meshes->[$region_id]; } # free memory