mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Added cancellation to MMU segmentation.
This commit is contained in:
parent
281ac1f2f1
commit
0a6490bab9
2 changed files with 36 additions and 7 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "GCode/WipeTower.hpp"
|
||||
#include "GCode/ThumbnailData.hpp"
|
||||
#include "GCode/GCodeProcessor.hpp"
|
||||
#include "MultiMaterialSegmentation.hpp"
|
||||
|
||||
#include "libslic3r.h"
|
||||
|
||||
|
@ -627,6 +628,8 @@ private:
|
|||
friend class GCode;
|
||||
// Allow PrintObject to access m_mutex and m_cancel_callback.
|
||||
friend class PrintObject;
|
||||
// Allow multi_material_segmentation_by_painting() to access m_cancel_callback.
|
||||
friend std::vector<std::vector<std::pair<ExPolygon, size_t>>> multi_material_segmentation_by_painting(const PrintObject &print_object);
|
||||
};
|
||||
|
||||
} /* slic3r_Print_hpp_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue