Temporarily disabled the following check:

"Levitating objects cannot be printed without support"
until the unit tests are adjusted.
This commit is contained in:
bubnikv 2018-12-14 19:40:02 +01:00
parent 77d37f108c
commit 37806c020a

View file

@ -385,11 +385,13 @@ void PrintObject::generate_support_material()
this->_generate_support_material(); this->_generate_support_material();
m_print->throw_if_canceled(); m_print->throw_if_canceled();
} else { } else {
#if 0
// Printing without supports. Empty layer means some objects or object parts are levitating, // Printing without supports. Empty layer means some objects or object parts are levitating,
// therefore they cannot be printed without supports. // therefore they cannot be printed without supports.
for (const Layer *layer : m_layers) for (const Layer *layer : m_layers)
if (layer->empty()) if (layer->empty())
throw std::runtime_error("Levitating objects cannot be printed without supports."); throw std::runtime_error("Levitating objects cannot be printed without supports.");
#endif
} }
this->set_done(posSupportMaterial); this->set_done(posSupportMaterial);
} }