diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 8baf424277..d5a1fa178d 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -1591,6 +1591,8 @@ void Print::process() } else if (! this->config().complete_objects.value) { // Initialize the tool ordering, so it could be used by the G-code preview slider for planning tool changes and filament switches. m_tool_ordering = ToolOrdering(*this, -1, false); + if (m_tool_ordering.empty() || m_tool_ordering.last_extruder() == unsigned(-1)) + throw std::runtime_error("The print is empty. The model is not printable with current print settings."); } this->set_done(psWipeTower); }