Fixed a crash when slicing leads to no print.

Fixed a bug in TriangleMesh::bounding_box().
This commit is contained in:
bubnikv 2017-09-12 16:48:44 +02:00
parent b08d6f1969
commit 98408bbed0
4 changed files with 6 additions and 2 deletions

View file

@ -710,7 +710,6 @@ bool GCode::_do_export(Print &print, FILE *file)
// Just wait for a bit to let the user check, that the priming succeeded.
fprintf(file, "M117 Verify extruder priming\nM0 S10\nM117 Printing\n");
}
write(file, this->unretract());
} else
write(file, WipeTowerIntegration::prime_single_color_print(print, initial_extruder_id, *this));
}