mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Remove fix_slicing_errors
because it makes no sense (#2370)
this also fixes #2344
This commit is contained in:
parent
a178b967dc
commit
fc0067ccba
1 changed files with 3 additions and 1 deletions
|
@ -656,6 +656,7 @@ void reGroupingLayerPolygons(std::vector<groupedVolumeSlices>& gvss, ExPolygons
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
std::string fix_slicing_errors(PrintObject* object, LayerPtrs &layers, const std::function<void()> &throw_if_canceled, int &firstLayerReplacedBy)
|
||||
{
|
||||
std::string error_msg;//BBS
|
||||
|
@ -777,6 +778,7 @@ std::string fix_slicing_errors(PrintObject* object, LayerPtrs &layers, const std
|
|||
|
||||
return error_msg;
|
||||
}
|
||||
*/
|
||||
|
||||
void groupingVolumesForBrim(PrintObject* object, LayerPtrs& layers, int firstLayerReplacedBy)
|
||||
{
|
||||
|
@ -813,7 +815,7 @@ void PrintObject::slice()
|
|||
m_print->throw_if_canceled();
|
||||
int firstLayerReplacedBy = 0;
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
// Fix the model.
|
||||
//FIXME is this the right place to do? It is done repeateadly at the UI and now here at the backend.
|
||||
std::string warning = fix_slicing_errors(this, m_layers, [this](){ m_print->throw_if_canceled(); }, firstLayerReplacedBy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue